From 87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 16:53:45 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/pardes.zig | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/pardes.zig') 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| { -- cgit v1.3