summaryrefslogtreecommitdiff
path: root/src/edit.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.zig')
-rw-r--r--src/edit.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edit.zig b/src/edit.zig
index 5b94c0d8..23c223d9 100644
--- a/src/edit.zig
+++ b/src/edit.zig
@@ -2311,6 +2311,7 @@ test "insert and normal modes edit complete Unicode graphemes" {
}
test "flat text replacement preserves a terminal fragment origin and direction" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a shell
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 60, .rows = 12 });
defer p.deinit();
p.update(.{ .output = .{ .pane = 0, .bytes = "first\r\nsecond\r\nthird\r\n界a\r\n" } });
@@ -2438,6 +2439,7 @@ test "a typed edit's known end is where the texts' comparison would find it" {
}
test "a paste into a terminal is xterm's: bracketed when the program asked, control bytes spaces, so no ESC[201~ ends the brackets early" {
+ 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();