about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-10 20:22:40 +0200
committerMichael Vetter <jubalh@iodoru.org>2023-04-10 20:22:40 +0200
commite3820d7037a63ff3e09ed84f518dfb7b67f3982f (patch)
tree4169a60bb8c5ca2453e990f69bfb57f4890eb548
parente3beac414eefede6ef09069b6f0ad783505676e3 (diff)
downloadprofani-tty-e3820d7037a63ff3e09ed84f518dfb7b67f3982f.tar.gz
Add limitation info about /statusbar chat user|jid
While testing https://github.com/profanity-im/profanity/pull/1817
we found that:

```
/statusbar show name (I have this off by default
/msg someone where I chose someone in my roster that has a nick assigned
/statusbar chat jid
```

Will only take effect upon creation or redraw of that tab.
Reason is that we do this in create_tab to limit building this
dynamically.

Let's leave it like it is but add a note to users.
Not worth build that string all the time.
-rw-r--r--src/command/cmd_defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 574b9656..12ebf4a1 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1310,7 +1310,7 @@ static const struct cmd_t command_defs[] = {
               { "show|hide read", "Show or hide inactive tabs." },
               { "self user|barejid|fulljid", "Show account user name, barejid, fulljid as status bar title." },
               { "self off", "Disable showing self as status bar title." },
-              { "chat user|jid", "Show users name, or the fulljid if no nick is present for chat tabs." },
+              { "chat user|jid", "Show users name, or fulljid. Change needs a redraw/restart to take effect." },
               { "room room|jid", "Show room name, or the fulljid for room tabs." },
               { "up", "Move the status bar up the screen." },
               { "down", "Move the status bar down the screen." })