aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-12 18:32:24 +0000
committernicm <nicm>2015-12-12 18:32:24 +0000
commit5ed17e84faed0a7655ec1eb3de291b60839dcb12 (patch)
tree6d6a92930d40c5ca616505ebba40fc5ac4b4d57b /options-table.c
parent6a50cf89b40d472cd1f8b439913ca4caddbfd001 (diff)
downloadrtmux-5ed17e84faed0a7655ec1eb3de291b60839dcb12.tar.gz
rtmux-5ed17e84faed0a7655ec1eb3de291b60839dcb12.tar.bz2
rtmux-5ed17e84faed0a7655ec1eb3de291b60839dcb12.zip
Add key-table option to set the default key table for a session, allows
different key bindings for different sessions and a few other things.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 0dab0c0e..63e7ab61 100644
--- a/options-table.c
+++ b/options-table.c
@@ -211,6 +211,12 @@ const struct options_table_entry options_table[] = {
.default_num = 2000
},
+ { .name = "key-table",
+ .type = OPTIONS_TABLE_STRING,
+ .scope = OPTIONS_TABLE_SESSION,
+ .default_str = "root"
+ },
+
{ .name = "lock-after-time",
.type = OPTIONS_TABLE_NUMBER,
.scope = OPTIONS_TABLE_SESSION,