summaryrefslogtreecommitdiff
path: root/src/views.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/views.zig')
-rw-r--r--src/views.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/views.zig b/src/views.zig
index dbe7e54c..3cdbc8aa 100644
--- a/src/views.zig
+++ b/src/views.zig
@@ -642,6 +642,7 @@ test "registers are the session's: yanked in one view, put in another" {
}
test "a terminal shown at two sizes takes the size of the view that typed into it last" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a shell
const gpa = testing.allocator;
const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 24 });
defer p.deinit();
@@ -837,6 +838,7 @@ test "a view not live keeps its place in a text another view edits" {
}
test "a terminal shown in a view shorter than it keeps its cursor in sight" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a shell
const gpa = testing.allocator;
const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 20 });
defer p.deinit();