mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Sync OpenBSD patchset 192:
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 mode key bindings (new -t argument).
This commit is contained in:
4
server.c
4
server.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server.c,v 1.163 2009-07-25 08:52:04 tcunha Exp $ */
|
||||
/* $Id: server.c,v 1.164 2009-07-28 23:11:18 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -161,6 +161,7 @@ server_start(char *path)
|
||||
ARRAY_INIT(&windows);
|
||||
ARRAY_INIT(&clients);
|
||||
ARRAY_INIT(&sessions);
|
||||
mode_key_init_trees();
|
||||
key_bindings_init();
|
||||
utf8_build();
|
||||
|
||||
@ -384,6 +385,7 @@ server_main(int srv_fd)
|
||||
}
|
||||
ARRAY_FREE(&clients);
|
||||
|
||||
mode_key_free_trees();
|
||||
key_bindings_free();
|
||||
|
||||
close(srv_fd);
|
||||
|
Reference in New Issue
Block a user