about summary refs log tree commit diff stats
path: root/src/input_win.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-27 22:22:30 +0100
committerJames Booth <boothj5@gmail.com>2012-10-27 22:22:30 +0100
commit7e26fcdf84e649ed25a0f8ec98ea44c7bf592113 (patch)
tree266c38a096e268a65988ef8c79fe6242a359643c /src/input_win.c
parentc71259c322973b23e808fbcfbcd2613c7b41eb83 (diff)
downloadprofani-tty-7e26fcdf84e649ed25a0f8ec98ea44c7bf592113.tar.gz
Added type autcomplete for /notify
Diffstat (limited to 'src/input_win.c')
-rw-r--r--src/input_win.c5
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",