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/ui/console.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/ui/console.c')
-rw-r--r-- | src/ui/console.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 9f4d6248..3eff47d5 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1716,9 +1716,14 @@ void cons_intype_setting(void) { if (prefs_get_boolean(PREF_INTYPE)) - cons_show("Show typing (/intype) : ON"); + cons_show("Show typing in titlebar (/intype titlebar) : ON"); else - cons_show("Show typing (/intype) : OFF"); + cons_show("Show typing in titlebar (/intype titlebar) : OFF"); + + if (prefs_get_boolean(PREF_INTYPE_CONSOLE)) + cons_show("Show typing in console (/intype console) : ON"); + else + cons_show("Show typing in console (/intype console) : OFF"); } void |