summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig5
1 files changed, 2 insertions, 3 deletions
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;