summaryrefslogtreecommitdiff
path: root/src/ninep/cols.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/cols.zig')
-rw-r--r--src/ninep/cols.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ninep/cols.zig b/src/ninep/cols.zig
index c8d84e5d..d953bcc7 100644
--- a/src/ninep/cols.zig
+++ b/src/ninep/cols.zig
@@ -435,6 +435,7 @@ test "Help and Find at /tagexec act in the session's directory, not the keyboard
}
test "a shell command at /tagexec or a column's exec is a command pane in the session's directory, never typed into the keyboard's terminal" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane
const p = try Pardes.init(testing.allocator, .{ .tty_only = true, .cols = 80, .rows = 30 });
defer p.deinit();
while (p.nextEffect()) |_| {}
@@ -455,6 +456,7 @@ test "a shell command at /tagexec or a column's exec is a command pane in the se
}
test "New and Term run at /tagexec and a column's exec, with no pane at all too" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a shell
const p = try th.withFile(testing.allocator, "x\n");
defer p.deinit();
const tagexec = @backingInt(tree.TopFile.tagexec);
@@ -671,6 +673,7 @@ test "tagexec runs a word as a click in the workspace tag; exec files read back
}
test "a word run from the workspace's or a column's tag runs in the session's directory, a pane's in its own" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane
const p = try th.withFile(testing.allocator, "x\n");
defer p.deinit();
const session = p.sessionDir();
@@ -689,6 +692,7 @@ test "a word run from the workspace's or a column's tag runs in the session's di
}
test "a command run from a column's tag gets its pane in that column, not the last" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a command pane
const p = try th.withFile(testing.allocator, "x\n");
defer p.deinit();
layout.newColumn(p, p.view().active);