summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 16:53:45 -0300
committerGabriel Schneider <[email protected]>2026-11-04 16:53:56 -0300
commit87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7 (patch)
treeb628809c132871d6f6543971d8d79b18328bcac3 /src/pardes.zig
parentbe3985092df1c3388cfa09ca5e989d2fa66f55ec (diff)
downloadpardes-87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7.tar.gz
pardes-87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7.zip
Tty9p and its pardes-v9fs helper removed (the user: a one-off), a terminal with the session kernel-mounted through Linux v9fs: the builtin and its SPC n 9, the spawn's mounted path and the pane's flag, the host's helper launch, src/linux/v9fs.zig and its build and install, test/v9fs.py, v9fs_driver_test.py and v9fs_terminal.py with their three steps, the docs (the build notes keep how to mount a session by hand); the builtin lists regenerated; core, fs-unit, pane, behaviour and process tests, the gui build and all 113 snap scripts pass; ~/.local/bin/pardes-v9fs, installed before, is left
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 6c5a01af..4c1d0a10 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -965,25 +965,6 @@ test "a terminal respawned into a closed pane's slot hangs the old shell up firs
try std.testing.expect(closed and spawned);
}
-test "Tty9p marks only the new Linux terminal for a mounted shell" {
- if (comptime !hosted or @import("builtin").os.tag != .linux) return error.SkipZigTest;
- const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true });
- defer p.deinit();
- p.fs.socket_path = "/tmp/pardes-test.sock";
- try std.testing.expect(p.executeBuiltinLine(0, "Tty9p"));
- try std.testing.expect(p.active != 0);
- try std.testing.expect(!p.panes[0].?.v9fs_on_spawn);
- const pane = p.panes[p.active].?;
- try std.testing.expect(pane.isTerminal() and pane.body.mode == .tty);
- try std.testing.expect(pane.v9fs_on_spawn);
- try std.testing.expect(!pane.greet);
- try std.testing.expect(!exec.takesCommandLine(p, p.active));
- panes.terminal.feedOutput(p, pane, "\x1b]133;A\x07$ \x1b]133;B\x07");
- try std.testing.expect(exec.takesCommandLine(p, p.active));
- panes.terminal.feedOutput(p, pane, "\x1b]133;C\x07");
- try std.testing.expect(!exec.takesCommandLine(p, p.active));
-}
-
test "first document fallback splits like Tty from the originating pane" {
for ([_]u16{ 100, 198 }) |width| for (0..3) |from| {
for ([_]bool{ false, true }) |collapsed| {