server-info can become an alias rather than a command.

This commit is contained in:
nicm
2017-01-24 19:59:19 +00:00
parent 85338bb75f
commit 126d364abe
3 changed files with 77 additions and 18 deletions

View File

@@ -65,6 +65,16 @@ const struct options_table_entry options_table[] = {
.default_num = 20
},
{ .name = "command-alias",
.type = OPTIONS_TABLE_ARRAY,
.scope = OPTIONS_TABLE_SERVER,
.default_str = "split-pane=split-window,"
"splitp=split-window,"
"server-info=show-messages -JT,"
"info=show-messages -JT",
.separator = ","
},
{ .name = "default-terminal",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SERVER,