1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-27 20:30:13 -04:00

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.
This commit is contained in:
Michael Vetter 2023-04-10 20:22:40 +02:00
parent e3beac414e
commit e3820d7037

View File

@ -1310,7 +1310,7 @@ static const struct cmd_t command_defs[] = {
{ "show|hide read", "Show or hide inactive tabs." }, { "show|hide read", "Show or hide inactive tabs." },
{ "self user|barejid|fulljid", "Show account user name, barejid, fulljid as status bar title." }, { "self user|barejid|fulljid", "Show account user name, barejid, fulljid as status bar title." },
{ "self off", "Disable showing self 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." }, { "room room|jid", "Show room name, or the fulljid for room tabs." },
{ "up", "Move the status bar up the screen." }, { "up", "Move the status bar up the screen." },
{ "down", "Move the status bar down the screen." }) { "down", "Move the status bar down the screen." })