diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-daemon.md | 11 | ||||
| -rw-r--r-- | docs/typ/reference.typ | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index 9ed25f9c..22837941 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -102,6 +102,14 @@ smallest common grid across them. A `cat` of 1 GB costs screens, not bytes. ghostty stays exact on the authority, and the local path keeps reading ghostty directly. + + > SINCE 2026-11-22 TERMINALS CROSS AS THE PTY'S BYTES (the user's + > ruling: "just start the structural fix"): a session's units carry its + > ptys' output and every client feeds its own emulator in the tape's + > order (pardes-flip), and the screen-state road is deleted + > (pardes-term-join-8: core/term/screen_state.zig, the deltas and their + > flight bound, the screen messages; the wire at 30). What this file says + > of screen state below is history. - **The reflective walker.** One comptime `@typeInfo` walk gives: - the digest; - the complete dump, which also serves join, Restore and Handover; @@ -885,6 +893,9 @@ Found and fixed 2026-10-29 (`dev/tui/tui.zig`, `waitInput`). ## Screen-state terminal notes +(History: deleted 2026-11-22; terminals cross as the pty's bytes, see the +note under "Terminals cross as authoritative screen state" above.) + Built 2026-10-29 (`src/screen_state.zig`), a pure encode and apply pair over byte buffers for the phase 5 stream; no transport yet. Only tests reference it, so the tty and GUI binaries carry none of it: no symbol of diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 425209a0..ac61ca74 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -897,7 +897,7 @@ Terminal panes also have #file("pty/"): command runs or text is typed at the prompt. A terminal whose program was killed on the alternate screen is at its prompt once the shell draws one there: busy is 0, and the next #file("pty/run") reads its output whole. -- #file("pty/ctl"): `winsize C R` (at least 2 rows, fewer refused `invalid winsize: at least 2 rows`; at most 4096 a side), `sig INT|TERM|HUP|QUIT|KILL`, `exec` (restart the shell in its directory: +- #file("pty/ctl"): `winsize C R` (the pty's size alone, apart from the terminal's grid, which stays its pane's: until the pane's size changes or its shell is started again, both of which give the pty the grid's; at least 2 rows, fewer refused `invalid winsize: at least 2 rows`; at most 4096 a side), `sig INT|TERM|HUP|QUIT|KILL`, `exec` (restart the shell in its directory: refused on a command pane, `a command pane does not restart`; `exec: <dir>: no such directory` if it is gone; a shell that cannot start fails and leaves the old one running). - #file("pty/run"): one line a write (two lines in one write are refused |
