summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 20:27:42 -0300
committerGabriel Schneider <[email protected]>2026-11-05 22:07:27 -0300
commitce4ac94f7887025afabad92402e5f04a276da9a4 (patch)
tree5d67bcf4ca8a63dc2b668e756c39fbbf74223bb9 /src/mouse.zig
parentd2b04b2a24a04b5de1416b33f37637f59dda71ee (diff)
downloadpardes-ce4ac94f7887025afabad92402e5f04a276da9a4.tar.gz
pardes-ce4ac94f7887025afabad92402e5f04a276da9a4.zip
split pardes.zig by noun, Core: the session itself leaves the module root for src/Core.zig, the clean room's name for it (a Pardes.zig beside pardes.zig would be one file on macOS's case-blind disk): the struct whole, its fields as the file's own (const Pardes = @This()), its methods and the host's entry points, the outbox, the clock, the 16 declaration aliases to its nouns, and the types only it holds (Boot, Options, Haptic and its slot, RetiredPanes, PendingWrite); the root names Pardes, Options, Boot and Haptic as before and keeps the module's surface alone: imports and re-exports, the constants, the turn, the macOS tag-grid mapping (#34, held) and its test, the help index, test_api and the test manifest (8,073 lines to 449); the field names echo and panes, which the struct's code used for modules, are pardes.echo and pardes.panes in it; tests moved with the session, by name: startup config runs builtin lines in order and isolates bad lines; topbar hover highlights exactly the executable word; pane-tag Exec prefers Term and argument builtins before shell fallback; LocationsConfig command reports partial updates and survives restore; TreeContext tag style preserves message rows and its opt-out survives restore; TreeContext command and custom tag survive a workspace round trip; Filter is ordered after Del and toggles only its terminal or +Pager pane; compact tag commands stay beside their own prefix across layout changes; Term spawns a raw shell in the caller's directory; a terminal respawned into a closed pane's slot hangs the old shell up first; a frame no one watches is not drawn, and is drawn once someone does; an empty column shows its theme's empty_col under its tag: acme's white, else the border; unknown Exec from a document runs as a command pane in its directory, typed into no terminal; Exec in a terminal whose tty is taken runs as a command pane instead of typing at the program; a command of several lines keeps its tag one row, and its echo does not staircase; a spawn is for the pane it was made for, not whatever took the slot since; a REPL bound for a language takes the exec made on a body in it; tags, Exec by name and command words still run; a restored terminal's tag names neither the REPL it was nor the shell it had; a Term started by a shell's path keeps the path in its Term+ word; Tty, Term's old name in saved tags, runs as Term, bare and with its +shell; Term+fish, one word a tag can hold, opens a terminal on that shell; a command pane shows how its command ended, and the next command there runs below it; image dump restores source bytes renderer choices and exact custom tail; a terminal its program gave back takes command lines again; the host is asked about a tty only where a command line is about to go; a host with no methods at all is a complete in-process pardes; Font keeps requested and acknowledged faces as separate plain state; Font size suffix reaches native request and invalid input leaves it intact; startup config overrides restored styling before initFromDump returns; restored terminals keep monotonic nonzero pane identities; Tab N draws every pane's tab N cells wide and clicks count past it; bare Tab says the width; the ctl read and a Dump keep it; tabbed file aligns syntax cursor and mouse at the nearest insertion gap; the workspace tag's Restore word names the last dump, the tag edited around it or not, across a Restore too; editable workspace and column tags are typed into and persist; column tag first-cell execution keeps New local to the clicked column; a screen too short for the column row releases a column tag's focus without losing its commands; screen resize keeps its previous storage until allocation succeeds; a boot file that will not open boots an errors pane rather than failing the launch; argv naming nothing boots an errors pane rather than failing the launch; raw terminal cursor obeys visibility without hiding modal and tag cursors; raw terminal cursor follows its active row only while that row is visible; the bare tty startup opens a text pane under the shell, unfocused; tty output follows only from the bottom; an unasked desktop paste reaches a tty pane's program, not its buffer; a paste larger than the effect ring reaches the program whole and in order; a bracketed paste larger than the ring still closes its bracket; a terminal's answer to its program waits behind the paste still queued for its pty; pasted bytes still queued at shutdown are freed, not leaked; leaving tty hides the prompt and keeps the command typed at it; entering tty walks the shell cursor to the column clicked past the prompt; every allocation failure during boot is a clean OutOfMemory; a pure move, no field renamed or moved, so a dump and the wire are as they were; gates on both frontends, the full PLAN.md set after the split group: tui core-test 960/960, behaviour-test 238/238, unit-test 1473/1474 (1 skipped), pane-test 171/172 (1 skipped), snap all 108 scripts ok, process-test 0 of 37 failed (2 skipped), hxdiff 658 cases 19 mismatches 3 waived and hxparity 738 cases 6 mismatches 13 waived (each the base's set, line for line), hxgolf 124 cases 0 mismatches, replicas ok; gui core-test 960/960, behaviour-test 238/238, unit-test 1518/1519 (1 skipped), pane-test 171/172 (1 skipped), process-test 0 of 37 failed (5 skipped), gui-golden and monkey-gui pass
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/mouse.zig')
0 files changed, 0 insertions, 0 deletions