about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2018-03-09 21:11:59 +0000
committerJames Booth <boothj5@gmail.com>2018-03-09 21:15:27 +0000
commit59382984c054bca832329c0e365e7f05346fa478 (patch)
treee9e25cd4e1469ad6419f0aba06cf16d7da0320c6 /src/command/cmd_defs.c
parenta957c545d30750776e5b3307e71d4069e56a9ea5 (diff)
downloadprofani-tty-59382984c054bca832329c0e365e7f05346fa478.tar.gz
Add preferences for tab display
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 2634645f..1c5a6cba 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1367,6 +1367,8 @@ static struct cmd_t command_defs[] =
             "/statusbar show empty|name",
             "/statusbar hide empty|name",
             "/statusbar maxtabs <value>",
+            "/statusbar chat user|jid",
+            "/statusbar room room|jid",
             "/statusbar up",
             "/statusbar down")
         CMD_DESC(
@@ -1375,11 +1377,14 @@ static struct cmd_t command_defs[] =
             { "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." },
+            { "chat user|jid",      "Show only the users name, or the full jid if no nick is present for chat tabs." },
+            { "room room|jid",      "Show only the rooms name, or the full jid for room 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 chat jid",
             "/statusbar hide name")
     },