aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 14:31:38 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 14:31:38 +0000
commit31407b70e00cd3e18eb9107b99ba54a5f55b79d0 (patch)
treea413c24047bb94b287e95cb225948858772d29dc /options-table.c
parent374dae6635f797e480a7b0fc5a5c7bcd4fcca047 (diff)
downloadrtmux-31407b70e00cd3e18eb9107b99ba54a5f55b79d0.tar.gz
rtmux-31407b70e00cd3e18eb9107b99ba54a5f55b79d0.tar.bz2
rtmux-31407b70e00cd3e18eb9107b99ba54a5f55b79d0.zip
Add option command-prefix which is automatically prepended to any command
(apart from a naked default-shell). The default is "exec ".
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 37b3b100..e5f6c777 100644
--- a/options-table.c
+++ b/options-table.c
@@ -476,7 +476,6 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
-
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
.default_num = 250,
@@ -502,6 +501,11 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
+ { .name = "command-prefix",
+ .type = OPTIONS_TABLE_STRING,
+ .default_str = "exec "
+ },
+
{ .name = "force-height",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 0,