Add prefs for empty tabs and tab names

This commit is contained in:
James Booth
2018-03-08 22:27:49 +00:00
parent 119c5650cf
commit 720dce866e
10 changed files with 140 additions and 20 deletions

View File

@@ -1358,20 +1358,29 @@ static struct cmd_t command_defs[] =
},
{ "/statusbar",
parse_args, 1, 1, &cons_winpos_setting,
parse_args, 1, 2, &cons_statusbar_setting,
CMD_NOSUBFUNCS
CMD_MAINFUNC(cmd_statusbar)
CMD_TAGS(
CMD_TAG_UI)
CMD_SYN(
"/statusbar show empty|name",
"/statusbar hide empty|name",
// "/statusbar maxtabs <value>",
"/statusbar up",
"/statusbar down")
CMD_DESC(
"Move the status bar.")
"Manage statusbar display preferences.")
CMD_ARGS(
{ "up", "Move the status bar up the screen." },
{ "down", "Move the status bar down the screen." })
CMD_NOEXAMPLES
// { "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 show empty",
"/statusbar hide name")
},
{ "/inputwin",