diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 00:08:16 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 00:32:56 -0300 |
| commit | 2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1 (patch) | |
| tree | 8dcc7111d1e78806c6ac0e0bd1493c25d86bfc85 /test/behaviour/modes.zig | |
| parent | 43a4c24e607a456d7a23eb8a779bce5651f18222 (diff) | |
| download | pardes-2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1.tar.gz pardes-2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1.zip | |
config, exec, look: Placement, BootShell, LookWord, DirLook and DiffLook go, with what each kept of pardes before it took acme's ways (exec's pardesPlace, atFoot, belowParent, pardesDoc and evictLonePristineTty with mouse.zig's call, layout's splitParent and columnFitsHalves that only they called, look's ls in a terminal for a directory, the word and patch looks' other branches, the SPC c p key, their Help and builtins-JSON rows, their lines in docs/typ and a changelog line), and the tests of them: Dir.zig's "DirLook terminal: a look at a directory opens a terminal there, no pane listing it", pardes.zig's "first document fallback splits like Term from the originating pane", "first document keeps its originating shell and only opens a column when it fits", "BootShell keep leaves the untouched boot shell a dragged document joins; replace closes it" and "a Look on a directory does not type ls into an occupied terminal", keys.zig's "keys: SPC j n and SPC j p walk on from the place a Look's +Search listing chose, its keyboard left in the file", look_and_exec.zig's "look-and-exec: a second LookWord list look in a directory refills its +Search rather than stacking another", placement.zig's "placement: Placement pardes puts a new pane right under the asking one, and bare it steps back to acme", output.zig's "LookNext/LookPrev keeps the result output a Look chose through a no-match answer, and a stale serial once it is deleted", and the snapshot scripts that turned them on (cmdword, doccol, look-dir, lookpanes, rsearch, splitparent, ttylook); the Del question's test makes its middle panes the acme way, a New at the column's foot, and the others that turned one on for their layout run without it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/behaviour/modes.zig')
| -rw-r--r-- | test/behaviour/modes.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig index 961ca788..ef39d912 100644 --- a/test/behaviour/modes.zig +++ b/test/behaviour/modes.zig @@ -174,8 +174,6 @@ fn listed(s: *Session, n: u32) !bool { test "modes: in window mode d deletes the outlined pane, asking k or j between two, c collapses it, and the mode stays on" { var s = try Session.initFile(std.testing.allocator, "top\n"); defer s.deinit(); - // The neighbours below are what is under test: each New right under its asker. - try s.write("/ctl", "Placement pardes\n"); const top = try s.focused(); try s.write(s.at("/pane/{d}/exec", .{top}), "New\n"); const mid = try s.focused(); @@ -451,8 +449,6 @@ test "modes: Ctrl-o and Ctrl-i drop the selections, select mode and the extra cu test "modes: hopping between two panes by Esc, window mode or a click makes no places, so one Ctrl-o goes back across and the next has nowhere to go" { var s = try Session.initFile(std.testing.allocator, std.mem.asBytes(&@as([100][4]u8, @splat("row\n".*)))); defer s.deinit(); - // Two panes of room, not acme's fit to the doc. - try s.write("/ctl", "Placement pardes\n"); const doc = try s.focused(); try s.keys("\u{F015}n"); // a shell under the doc const shell = try s.focused(); |
