summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 20:23:31 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit68dd567218505838814d73473460a0c0ff8e97b3 (patch)
treebabe029d3940c9dd6f7ef7b385086f2fabefe6aa /test/panes.zig
parentf8fe738416fe3a40a7136f2cb5528e8fd57f40df (diff)
parentf99806de546c837ab6f2d5b1e3e8accc95e63a7e (diff)
downloadpardes-68dd567218505838814d73473460a0c0ff8e97b3.tar.gz
pardes-68dd567218505838814d73473460a0c0ff8e97b3.zip
Release Pardes 0.12
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig8
1 files changed, 4 insertions, 4 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();