summaryrefslogtreecommitdiff
path: root/test/behaviour/tree.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 00:25:48 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit9c2fc736b9ccd7b7eea11e7f544ed540d2d2a6c2 (patch)
treeac4270b4e90867228534c01647e8a0e755b58d4a /test/behaviour/tree.zig
parent5354090b6122faf0d18e246a55e8a4ead0955394 (diff)
downloadpardes-9c2fc736b9ccd7b7eea11e7f544ed540d2d2a6c2.tar.gz
pardes-9c2fc736b9ccd7b7eea11e7f544ed540d2d2a6c2.zip
Term: input through the interface: Term.key writes a key's bytes as its program's keyboard protocol and modes ask, Term.mouse and Term.wheel a mouse event's and a wheel turn's, Term.paste a paste as xterm makes one, Term.modes is the plain record of the modes the core decides by (mouse, all motion, the wheel, focus, bracketed paste, the alternate screen) and Term.promptMoves how far a click on the prompt line moves the shell's cursor; the mouse's records (MouseMods, MouseButton, MouseAction) are the interface's; keys.forwardKey (the bytes queued, an error reported) and keys.enterTty (raw mode, the cursor handed to the shell) are the core's, in keys.zig, pardes.keys for the tests; bracketedPaste, reportsMouse, reportsFocus, ownsWheel, tracksAllMotion and onAlternateScreen go into the record; the tests that called them follow; nothing else changes
Diffstat (limited to 'test/behaviour/tree.zig')
0 files changed, 0 insertions, 0 deletions