Fix ASCII diagram box alignment in ARCHITECTURE.md

Ensure all lines have consistent length and box borders align properly.
This commit is contained in:
GitHub Copilot
2026-01-24 20:38:50 +00:00
parent ba5ff120c9
commit 80e82454d7
+14 -14
View File
@@ -7,20 +7,20 @@ This document describes the internal architecture of textual-webterm.
textual-webterm is a web-based terminal server that exposes terminal sessions (or Textual apps) over HTTP and WebSocket. It's designed to run behind a reverse proxy with authentication.
```
┌─────────────┐ ┌──────────────────────────────────────────────────
│ Browser │─────▶│ local_server.py │
│ │◀─────│ (aiohttp web server) │
└─────────────┘ │
│ │ ┌──────────────┐ ┌──────────────────────────┐ │
│ WebSocket │ │ session_ │ │ terminal_session.py │ │
└────────────▶│ │ manager.py │──│ (PTY + pyte emulator) │ │
│ └──────────────┘ └──────────────────────────┘ │
│ ┌──────────────┐ ┌──────────────────────────┐ │
│ │ poller.py │ │ docker_stats.py │ │
│ │ (I/O thread) │ │ (CPU metrics via socket) │ │
│ └──────────────┘ └──────────────────────────┘ │
└──────────────────────────────────────────────────
┌─────────────┐ ┌──────────────────────────────────────────────────┐
│ Browser │─────▶│ local_server.py │
│ │◀─────│ (aiohttp web server) │
└─────────────┘ │ │
│ │ ┌──────────────┐ ┌──────────────────────────┐
│ WebSocket │ │ session_ │ │ terminal_session.py │
└────────────▶│ │ manager.py │──│ (PTY + pyte emulator) │
│ └──────────────┘ └──────────────────────────┘
│ │
│ ┌──────────────┐ ┌──────────────────────────┐
│ │ poller.py │ │ docker_stats.py │
│ │ (I/O thread) │ │ (CPU metrics via socket) │
│ └──────────────┘ └──────────────────────────┘
└──────────────────────────────────────────────────┘
```
## Core Components