diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-28 07:03:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-28 07:03:33 +0000 |
commit | 91b609484f4b8d3135cdb26cb6db6f7c4cdc97fc (patch) | |
tree | 3d9cf96a6e9085b6170fa11b36c3ae156b3cb12e /usr.bin/tmux/server.c | |
parent | 8ac01f5403feb01127486cf04aaa8261b2e2725e (diff) |
Next step towards customisable mode keys: build each default table of keys into
a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the the mode key bindings (new
-t argument).
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r-- | usr.bin/tmux/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index 90981597fd7..48ea7660f7f 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.14 2009/07/24 14:52:47 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.15 2009/07/28 07:03:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -160,6 +160,7 @@ server_start(char *path) ARRAY_INIT(&windows); ARRAY_INIT(&clients); ARRAY_INIT(&sessions); + mode_key_init_trees(); key_bindings_init(); utf8_build(); @@ -379,6 +380,7 @@ server_main(int srv_fd) } ARRAY_FREE(&clients); + mode_key_free_trees(); key_bindings_free(); close(srv_fd); |