summaryrefslogtreecommitdiff
path: root/src/tui
Commit message (Collapse)AuthorAge
* host_io: the shells a dead session left are one Adoptions table (Adopt's ↵Gabriel Schneider14 days
| | | | | | | ask, adoptShell, a spawn's take, and the Adoption a terminal pane takes), where the tty and the window each kept the same three fields and the same adopt, adoptShell and spawn lookup Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io: a Restore's new core is restoreCore's (the clients that replicate ↵Gabriel Schneider14 days
| | | | | | | the old one let go, the dump read and restored, its failure said once, the old core's pane and theme watches dropped), with both ponytail notes, where the tty and the window each wrote those steps out; each keeps its own ptys, pipes and views, and the tty's dump import goes with its one use Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* file_watch: every pane's watch is dropped by one call (unwatchAll), where ↵Gabriel Schneider14 days
| | | | | | | the tty's Restore, the window's Restore and a tty test each wrote the same eight-line loop over every pane Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* host_io: the image, PDF and syntax subsystems a session draws with start and ↵Gabriel Schneider14 days
| | | | | | | stop in one place (startWorkers, stopWorkers), where the tty's local session, the window's session and its test grid each started them and deferred their stop in eleven lines of their own Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tui: the tty's passes (the panel compositor, the glide's rows, chip shadows, ↵Gabriel Schneider14 days
| | | | | | | the thumb flash, the jump trail) draw on one panel_compositor.Frame, the canonical surface until a pass changes something and then the one copy the first such pass makes (Frame.own), where each pass made its own copy of the ~114 KB Surface and its cells, up to five a frame while motion ran; the glide's rows (glide.shifted, now panel_compositor.glideRows) move in place, walked from the side they move toward, and the three effects and their tests are the tty compositor's (panel_compositor.zig, as render-pipeline.md 9.2 has it); the compositor's tests compose through one helper and test "nothing drawn" as no copy made Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* vaxis_input: the core's cell styles as vaxis draws them (style, color, the ↵Gabriel Schneider14 days
| | | | | | | underline mapped by its name) and a pasted key's text (pasteBytes) are vaxis_input's, the tui's copies gone; the gui's test-mode stdin takes a paste's keys through the same pasteBytes, which also knows the keypad's Enter (its own copy did not) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tui: a Screen makes, drops and destroys its own heap copy (Screen.create, ↵Gabriel Schneider14 days
| | | | | | | drop, destroy) where attachTerminal and resumeTerminals each built one inline and dropScreen repeated freeScreen; a Restore closes each pty through closePty instead of a copy of it Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tui: helpers with one caller are their caller's lines (copyToClipboard, ↵Gabriel Schneider14 days
| | | | | | | requestClipboard, paintCursor, updateCoreTerminalSize), and kittyPlacement returns at once in a build without PDFs instead of wrapping its whole body in the comptime check Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* panel_compositor: a slide and a zoom draw through transformClipped with the ↵Gabriel Schneider14 days
| | | | | | | screen for their clip, so the near-twin transform goes (it sampled track.to, which is contentBox for every track but a closing one, and only a vertical one closes); the tests fill their cells with one testGlyphs call where each had its own five-line loop Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tui: the terminal-input tests share one TestInput fixture (vaxis, its ↵Gabriel Schneider14 days
| | | | | | | writer, the queue and a feed, set up in place) and one TestReader (parts a read each, a gap, asked or not) where each test had its own twelve lines of setup and its own copy of a reader Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tui: the loop's queue carries a named Msg union, not the type of a global ↵Gabriel Schneider14 days
| | | | | | | var declared only to be named (`@TypeOf(Command.value)`), and the Windows branches go (startInput's `loop.start()` and seven test skips: the tty cannot build for Windows, it calls sigprocmask, sigwait and shm_open) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* pdf: the test PDFs are files under test/pdf-fixtures, byte for byte what the ↵Gabriel Schneider14 days
| | | | | | | generators wrote, where pdf.zig wrote each object by object (139 lines fewer there): testFixture reads one, the two outlines sized by the bridge's limits stay generated, and the sections bench embeds its outline Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* surface: a frame's images are a std.ArrayList(ImagePlace), where they were a ↵Gabriel Schneider14 days
| | | | | | | slice of optionals grown by hand (appendImagePlace's doubling realloc, nimages beside it) whose slots were never null: every reader's `orelse continue` and `.?` go (gui, tui, terminal, TerminalImages, ninep/screen, test/pdf.zig, kitty and the two PDF benches); macos.zig's loop the same, passing ast-check but not built here Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, ↵Gabriel Schneider14 days
--tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge