diff options
Diffstat (limited to 'src/mouse.zig')
| -rw-r--r-- | src/mouse.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mouse.zig b/src/mouse.zig index a5ea9bed..8867982c 100644 --- a/src/mouse.zig +++ b/src/mouse.zig @@ -1384,6 +1384,7 @@ fn layerCenter(layer: *const Layer, col: u16, comptime tag: bool) [2]f32 { } test "a pane's last row of text is no resize handle; the rule over the next pane is" { + if (pardes.Term.ops == null) return error.SkipZigTest; // the classic boot's three shells const p = try twoColumns(std.testing.allocator); defer p.deinit(); const seam = seamRowOf(p, 1, 0); @@ -1409,6 +1410,7 @@ test "the line between two columns is no resize handle: a press there is a sweep } test "a pane's grip dragged up or down its own column moves its top, down to the floor of the pane above" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const p = try twoColumns(std.testing.allocator); defer p.deinit(); const upper = p.view().cols[1].panes[0]; @@ -1542,6 +1544,7 @@ test "a chorded exec an event reader holds is told with its argument, and writte } test "a wheel over a program that owns it is the program's, in the form it asked for; a shell's scrolls" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .cols = 60, .rows = 16, .tty_only = true }); defer p.deinit(); @@ -1637,6 +1640,7 @@ test "Alt-click is B2 and Super-click B3, kept from the press through the releas } test "a program tracking the mouse gets its clicks, drags and moves over its grid as xterm reports them; Shift and chrome stay pardes's" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .cols = 60, .rows = 16, .tty_only = true }); defer p.deinit(); |
