mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 16:59:43 +02:00
docs: fix tab/pane terminology in split-pane spec
The Problem paragraph and the architecture section used "tab" where "pane" was meant, colliding with the browser's own tab concept. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
3da8bb7046
commit
5f1be90ae9
@@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
## Problem
|
## Problem
|
||||||
|
|
||||||
Codeman's terminal area shows exactly one active session at a time — switching
|
Codeman's terminal area shows exactly one active session (pane) at a time —
|
||||||
tabs re-binds the single xterm instance and the single WebSocket to a
|
switching panes re-binds the single xterm instance and the single WebSocket
|
||||||
different session. Multi-monitor spanning (`scripts/span-codeman.sh` /
|
to a different session. Multi-monitor spanning (`scripts/span-codeman.sh` /
|
||||||
`span-codeman.ps1`) turned out to solve a different problem: it makes one
|
`span-codeman.ps1`) turned out to solve a different problem: it makes one
|
||||||
browser window bigger, but that window still shows one session; floating
|
browser window bigger, but that window still shows one session; floating
|
||||||
subagent windows are draggable overlays on top of it, not tiled panes. There
|
subagent windows are draggable overlays on top of it, not tiled panes. There
|
||||||
@@ -39,7 +39,7 @@ Explicitly out of scope for v1 (v2 candidates, not designed here):
|
|||||||
|
|
||||||
`terminal-ui.js` is built entirely around **singleton** state: `this.terminal`
|
`terminal-ui.js` is built entirely around **singleton** state: `this.terminal`
|
||||||
(one xterm instance), `this._ws`/`this._wsSessionId` (one WebSocket, rebound
|
(one xterm instance), `this._ws`/`this._wsSessionId` (one WebSocket, rebound
|
||||||
on every tab switch via `_disconnectWs()` + `_connectWs(newId)`), a
|
on every pane switch via `_disconnectWs()` + `_connectWs(newId)`), a
|
||||||
`this._xtermSnapshots` map used only to restore scrollback into that one
|
`this._xtermSnapshots` map used only to restore scrollback into that one
|
||||||
terminal when switching back to a session. Roughly 280 references to this
|
terminal when switching back to a session. Roughly 280 references to this
|
||||||
singleton state exist across the file (input handling, resize/fit, sizing-
|
singleton state exist across the file (input handling, resize/fit, sizing-
|
||||||
|
|||||||
Reference in New Issue
Block a user