diff options
Diffstat (limited to 'core/dump.zig')
| -rw-r--r-- | core/dump.zig | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/dump.zig b/core/dump.zig index eb0ef263..c348dec2 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -11,7 +11,6 @@ const exec = @import("exec.zig"); const colors = @import("colors.zig"); const config = @import("config.zig"); const platform = pardes.platform; -const isolated = pardes.isolated; const MAX_PANES = pardes.MAX_PANES; const MAX_COLS = pardes.MAX_COLS; const effect_path_cap = pardes.effect_path_cap; @@ -662,13 +661,11 @@ fn revivePane(p: *Pardes, id: usize, pane: *pardes.panes.Pane, was_on_disk: bool if (pane.terminal != null) { // A command pane comes back finished, showing what it said: its // command is not run again. A host that runs shells starts one - // under the history in the old one's directory; an isolated build - // only shows it. + // under the history in the old one's directory. if (pane.command != null) { pane.command_done = true; return; } - if (comptime isolated) return; if (pane.cwdSlice().len > effect_path_cap) return; // Its shell not there, made ready for a new one: what the old // shell was, ran and said is gone with it (the REPL it ran, the @@ -1060,7 +1057,6 @@ 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 }); defer p.deinit(); @@ -1082,7 +1078,6 @@ 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" }); defer p.deinit(); |
