diff options
Diffstat (limited to 'src/dump.zig')
| -rw-r--r-- | src/dump.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dump.zig b/src/dump.zig index 31765836..d1662e24 100644 --- a/src/dump.zig +++ b/src/dump.zig @@ -996,6 +996,7 @@ test "a pane restored with unsaved text is asked about by Exit, Restore, Del and } test "a loaded terminal's history stays above its banner, the cursor where it was" { + if (pardes.Term.ops == null) return error.SkipZigTest; // it reads the emulator if (comptime isolated) return error.SkipZigTest; const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 40, .rows = 12 }); @@ -1017,6 +1018,7 @@ test "a loaded terminal's history stays above its banner, the cursor where it wa } test "an upgraded session's dump keeps its views and its running terminal as they were, and settings the startup config would change" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell, dumped and loaded if (comptime isolated) return error.SkipZigTest; const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 40, .rows = 12, .startup_config = "Verbose off\n" }); |
