summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-24 09:21:27 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-24 09:21:27 +0000
commit8094e822873fd22d614a1e2fe7d0dfd63f9d2a47 (patch)
tree81ecc6b2e938155a239ac1563deea3c4f910ea55 /options-table.c
parent1ec43549989208019f6e5b71348594067819aed4 (diff)
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 23828bf8..5f9c81b1 100644
--- a/options-table.c
+++ b/options-table.c
@@ -477,7 +477,6 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
-
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
.default_num = 250,
@@ -503,6 +502,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,