diff options
author | James Booth <boothj5@gmail.com> | 2014-12-21 18:15:29 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-21 18:15:29 +0000 |
commit | 13f73a30e73f0349968f827e4003b3b4c84ebbf3 (patch) | |
tree | 9e764dba0765c15a814855bf52f69147d3405ecd /src/ui/console.c | |
parent | 79d4cbe967a4e27b291695778a928a5cdd59388c (diff) | |
download | profani-tty-13f73a30e73f0349968f827e4003b3b4c84ebbf3.tar.gz |
Added /inpblock command
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 3a280eb5..2bfc12ef 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -999,6 +999,7 @@ _cons_show_ui_prefs(void) cons_privileges_setting(); cons_titlebar_setting(); cons_presence_setting(); + cons_inpblock_setting(); cons_alert(); } @@ -1160,6 +1161,12 @@ _cons_show_chat_prefs(void) } static void +_cons_inpblock_setting(void) +{ + cons_show("Input block (/inpblock) : %d milliseconds", prefs_get_inpblock()); +} + +static void _cons_log_setting(void) { cons_show("Log file location : %s", get_log_file_location()); @@ -1677,6 +1684,7 @@ console_init_module(void) cons_reconnect_setting = _cons_reconnect_setting; cons_autoping_setting = _cons_autoping_setting; cons_priority_setting = _cons_priority_setting; + cons_inpblock_setting = _cons_inpblock_setting; cons_show_connection_prefs = _cons_show_connection_prefs; cons_show_themes = _cons_show_themes; cons_prefs = _cons_prefs; |