Add max tabs preference for statusbar

This commit is contained in:
James Booth
2018-03-08 23:11:49 +00:00
parent 720dce866e
commit a957c545d3
7 changed files with 111 additions and 59 deletions

View File

@@ -1366,19 +1366,19 @@ static struct cmd_t command_defs[] =
CMD_SYN(
"/statusbar show empty|name",
"/statusbar hide empty|name",
// "/statusbar maxtabs <value>",
"/statusbar maxtabs <value>",
"/statusbar up",
"/statusbar down")
CMD_DESC(
"Manage statusbar display preferences.")
CMD_ARGS(
// { "maxtabs <value>", "Set the maximum number of tabs to display, <value> must be between 0 and 10" },
{ "maxtabs <value>", "Set the maximum number of tabs to display, <value> must be between 0 and 10" },
{ "show|hide empty", "Show or hide empty tabs." },
{ "show|hide name", "Show or hide names in tabs." },
{ "up", "Move the status bar up the screen." },
{ "down", "Move the status bar down the screen." })
CMD_EXAMPLES(
// "/statusbar maxtabs 5",
"/statusbar maxtabs 5",
"/statusbar show empty",
"/statusbar hide name")
},