summaryrefslogtreecommitdiff
path: root/core/dump.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 06:33:52 -0300
committerGabriel Schneider <[email protected]>2026-11-20 06:33:53 -0300
commitffe05cceb897b3ae6a6d36491f9318a8aa3426e7 (patch)
tree352414579559060b3e8486af34e29d49fd5df781 /core/dump.zig
parent5b7124d10f9b2db8d1c5e99eacb9b6d2fffff0cc (diff)
parenta403340ec5c90238b136ca85fc64d65809b29a65 (diff)
downloadpardes-ffe05cceb897b3ae6a6d36491f9318a8aa3426e7.tar.gz
pardes-ffe05cceb897b3ae6a6d36491f9318a8aa3426e7.zip
integration: the build's second pass on the handle and the devices once: pardes-build-pass2 (pardes-isolate and the tree-sitter=disabled tier deleted; one option, grammars = none | minimal | full; build.zig with the consumer's lines as its head comment; test/lib -> test/consumer; the manual's library section) and pardes-merge31, merged without a textual conflict; one line follows a deletion: dev/file_watch.zig's end-to-end test of a session's watches (written since on the base) guarded on fs.platform_has_fs, which the first of these changes deleted: the guard reads as the file's other tests' (comptime !supported); tui core-test 857/1008 (151 skipped), shell-test 1048/1051, the window builds; the coordinator's gate in the ledger (reorg/merge32)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/dump.zig')
-rw-r--r--core/dump.zig7
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();