diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-05-08 19:33:58 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-05-08 19:38:40 +0200 |
commit | 1d8061e89b23f896035fdd62e777dd9343b35bb5 (patch) | |
tree | 0cf9969d157e282d0a2cc14048806e18a49bb248 /src/command/cmd_defs.c | |
parent | 1ef700f918f706da2098460ead880b2538aaf262 (diff) | |
download | profani-tty-1d8061e89b23f896035fdd62e777dd9343b35bb5.tar.gz |
Have separate settings for intype
Old: `/intype on|of` Typing information is printed in console and titlebar. New: `/intype titlebar|console on|off` Typing information can be configured in more detail. Regards https://github.com/profanity-im/profanity/issues/1516
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 5c03cad3..4ebc3432 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1514,18 +1514,19 @@ static struct cmd_t command_defs[] = { }, { "/intype", - parse_args, 1, 1, &cons_intype_setting, + parse_args, 2, 2, &cons_intype_setting, CMD_NOSUBFUNCS CMD_MAINFUNC(cmd_intype) CMD_TAGS( CMD_TAG_UI, CMD_TAG_CHAT) CMD_SYN( - "/intype on|off") + "/intype console|titlebar on|off") CMD_DESC( "Show when a contact is typing in the console, and in active message window.") CMD_ARGS( - { "on|off", "Enable or disable contact typing messages." }) + { "titlebar on|off", "Enable or disable contact typing messages notification in titlebar." }, + { "console on|off", "Enable or disable contact typing messages notification in console window." }) CMD_NOEXAMPLES }, |