diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CHANGELOG.md | 5 | ||||
| -rw-r--r-- | src/main.zig | 5 | ||||
| -rw-r--r-- | src/pardes.zig | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index f6607176..f21fcacc 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -28,6 +28,11 @@ - `Tty9p` and its `pardes-v9fs` helper are gone (a terminal with the session kernel-mounted through Linux v9fs, a one-off), with their tests; a kernel mount made by hand still works, as the build notes say. +- The terminal frontend is the tui: `zig build -Dplatform=tui`, its code + in `src/tui/` (the binary is still `pardes`, and `--tty` still starts + one shell pane in tty mode). The builtin that opens a terminal pane, + `Tty`, is `Term` (`SPC n t`); `Tty` still runs it, as acme's words run + theirs. - One `pardes --daemon` per user keeps sessions, started by the first session and gone once it keeps nothing. `pardes` in a terminal forks its session off and stays as its stub: `Detach` (`SPC s D`), or a diff --git a/src/main.zig b/src/main.zig index 16675265..9092e2f9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -76,8 +76,7 @@ const help_text = \\terminal's PAGER), else a new editor's. \\ \\Options: - \\ --tui start as one shell pane already in tty mode - \\ (--tty, its old spelling, too) + \\ --tty start as one shell pane already in tty mode \\ -n <count> initial shell panes: 1 (default) or 3 (classic). \\ A FILE argument boots just that file instead. \\ --tty-toggle <key> use Ctrl-<key> to toggle tty/editor mode @@ -436,7 +435,7 @@ fn nativeMain(std_init: std.process.Init) !void { var i: usize = if (resuming) 2 else 1; while (i < args.len) : (i += 1) { const a = args[i]; - if (std.mem.eql(u8, a, "--tui") or std.mem.eql(u8, a, "--tty")) { + if (std.mem.eql(u8, a, "--tty")) { explicit_tty = true; } else if (std.mem.startsWith(u8, a, "--tty-toggle=")) { session_only = false; diff --git a/src/pardes.zig b/src/pardes.zig index 89e99a9b..eb27c70c 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -3816,7 +3816,7 @@ pub const Options = struct { /// window's build replaying a terminal's session starts as it did. windowed: bool = platform == .gui, /// The layout to boot, when a host means one outright rather than leaving - /// it to be read off the options below. `--tui` names `.tty`; a core + /// it to be read off the options below. `--tty` names `.tty`; a core /// booted for a test names nothing and gets `.tty_shell`. boot: ?Boot = null, /// initial shell panes: 1 (default) or 3 for the classic two-column boot. |
