summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-05-16 16:31:00 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-05-16 16:31:00 +0000
commiteecb5e9b22b9c3f489053f463d254665407390b4 (patch)
treed83bcd93639c8c693272c6316cbcb8c20de1258c /usr.bin/tmux/server.c
parent44227a542147bb986da4a1643446ee89b5cb671c (diff)
xterm-keys has been on by default for five years and all other modern
terminals use these key sequences by default. Merge the code into the main tty and input tree processing (converting the latter to use a tree rather than a table at the same time) and make the option a no-op.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 0cfbb5fce48..3ccba1652f5 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.191 2020/05/16 16:07:55 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.192 2020/05/16 16:30:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -199,6 +199,7 @@ server_start(struct tmuxproc *client, int flags, struct event_base *base,
"tty ps", NULL) != 0)
fatal("pledge failed");
+ input_key_build();
RB_INIT(&windows);
RB_INIT(&all_window_panes);
TAILQ_INIT(&clients);