Add option command-prefix which is automatically prepended to any

command (apart from a naked default-shell). The default is "exec ".
This commit is contained in:
Nicholas Marriott
2013-03-24 09:21:27 +00:00
parent 1ec4354998
commit 8094e82287
2 changed files with 19 additions and 11 deletions

View File

@ -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,