mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 14:36:22 +00:00
Add /occupants indent command
Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690
This commit is contained in:
@@ -753,7 +753,8 @@ static struct cmd_t command_defs[] =
|
||||
CMD_SYN(
|
||||
"/occupants show|hide [jid]",
|
||||
"/occupants default show|hide [jid]",
|
||||
"/occupants size [<percent>]")
|
||||
"/occupants size [<percent>]",
|
||||
"/occupants indent <indent>")
|
||||
CMD_DESC(
|
||||
"Show or hide room occupants, and occupants panel display settings.")
|
||||
CMD_ARGS(
|
||||
@@ -763,7 +764,8 @@ static struct cmd_t command_defs[] =
|
||||
{ "hide jid", "Hide jid in the occupants panel in current room." },
|
||||
{ "default show|hide", "Whether occupants are shown by default in new rooms." },
|
||||
{ "default show|hide jid", "Whether occupants jids are shown by default in new rooms." },
|
||||
{ "size <percent>", "Percentage of the screen taken by the occupants list in rooms (1-99)." })
|
||||
{ "size <percent>", "Percentage of the screen taken by the occupants list in rooms (1-99)." },
|
||||
{ "indent <indent>", "Indent contact line by <indent> spaces (0 to 10)." })
|
||||
CMD_NOEXAMPLES
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user