diff options
author | James Booth <boothj5@gmail.com> | 2012-10-27 22:22:30 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-27 22:22:30 +0100 |
commit | 7e26fcdf84e649ed25a0f8ec98ea44c7bf592113 (patch) | |
tree | 266c38a096e268a65988ef8c79fe6242a359643c /src/input_win.c | |
parent | c71259c322973b23e808fbcfbcd2613c7b41eb83 (diff) | |
download | profani-tty-7e26fcdf84e649ed25a0f8ec98ea44c7bf592113.tar.gz |
Added type autcomplete for /notify
Diffstat (limited to 'src/input_win.c')
-rw-r--r-- | src/input_win.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input_win.c b/src/input_win.c index 3cb903e1..b69e3feb 100644 --- a/src/input_win.c +++ b/src/input_win.c @@ -174,6 +174,7 @@ inp_get_char(int *ch, char *input, int *size) prefs_reset_login_search(); prefs_reset_boolean_choice(); cmd_help_reset_completer(); + cmd_notify_reset_completer(); cmd_reset_completer(); } } @@ -361,9 +362,7 @@ _handle_edit(const int ch, char *input, int *size) _parameter_autocomplete(input, size, "/beep", prefs_autocomplete_boolean_choice); _parameter_autocomplete(input, size, "/notify", - prefs_autocomplete_boolean_choice); - _parameter_autocomplete(input, size, "/typing", - prefs_autocomplete_boolean_choice); + cmd_notify_complete); _parameter_autocomplete(input, size, "/flash", prefs_autocomplete_boolean_choice); _parameter_autocomplete(input, size, "/showsplash", |