diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 20:23:31 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 68dd567218505838814d73473460a0c0ff8e97b3 (patch) | |
| tree | babe029d3940c9dd6f7ef7b385086f2fabefe6aa /test | |
| parent | f8fe738416fe3a40a7136f2cb5528e8fd57f40df (diff) | |
| parent | f99806de546c837ab6f2d5b1e3e8accc95e63a7e (diff) | |
| download | pardes-68dd567218505838814d73473460a0c0ff8e97b3.tar.gz pardes-68dd567218505838814d73473460a0c0ff8e97b3.zip | |
Release Pardes 0.12
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/panes.zig | 8 | ||||
| -rw-r--r-- | test/snapshots/chordcut.snap | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/test/panes.zig b/test/panes.zig index 6f321abf..935defb5 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -981,11 +981,11 @@ const TtySelectionTests = struct { const target = p.rects[1]; const tx = target.x + config.GUTTER + 2; const ty = bodyY(p, target); - // Shift: over a program that tracks the mouse the chord is - // pardes's only so, and elsewhere Shift changes nothing. + // Over a program that tracks the mouse B1 is its own, so + // the chord's B1 holds Shift; B3 is pardes's either way. p.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = tx, .row = ty, .shift = true } }); - p.update(.{ .mouse = .{ .button = .right, .kind = .press, .col = tx, .row = ty, .shift = true } }); - p.update(.{ .mouse = .{ .button = .right, .kind = .release, .col = tx, .row = ty, .shift = true } }); + p.update(.{ .mouse = .{ .button = .right, .kind = .press, .col = tx, .row = ty } }); + p.update(.{ .mouse = .{ .button = .right, .kind = .release, .col = tx, .row = ty } }); p.update(.{ .mouse = .{ .button = .left, .kind = .release, .col = tx, .row = ty, .shift = true } }); var written: std.Io.Writer.Allocating = .init(p.gpa); defer written.deinit(); diff --git a/test/snapshots/chordcut.snap b/test/snapshots/chordcut.snap index fddd9e92..b1f164a2 100644 --- a/test/snapshots/chordcut.snap +++ b/test/snapshots/chordcut.snap @@ -124,10 +124,10 @@ snapstyle clickdismiss press middle 59 23 release middle 59 23 stable 700 15000 -# tty paste chord: over a mouse-listening app the chord is pardes's with -# Shift held; the app gets a click where the text goes (SGR, body-relative) -# then the register between bracketed-paste markers — cat -v prints the -# received bytes visibly +# tty paste chord: over a mouse-listening app B1 is the app's, so the +# chord's B1 holds Shift (B3 is pardes's either way); the app gets a click +# where the text goes (SGR, body-relative) then the register between +# bracketed-paste markers — cat -v prints the received bytes visibly press left 35 23 release left 35 23 stable 400 5000 @@ -137,8 +137,8 @@ text stty -icanon -echo; printf '\x1b[?2004h\x1b[?1000h\x1b[?1006h'; cat -v key enter stable 700 8000 press shift-left 40 25 -press shift-right 40 25 -release shift-right 40 25 +press right 40 25 +release right 40 25 release shift-left 40 25 stable 700 8000 snap ttyprobe |
