about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-01 00:35:42 +0000
committerJames Booth <boothj5@gmail.com>2015-02-01 00:35:42 +0000
commita9af8785a7b96af0288f3bb2cbc7128293a29917 (patch)
treeca2da04896dd942abe44cc9af9eef7925bacce01 /src
parente8b6c505cb825422ee467c9210ba0b87097aa85d (diff)
downloadprofani-tty-a9af8785a7b96af0288f3bb2cbc7128293a29917.tar.gz
Added more ignore characters to handle activity
Diffstat (limited to 'src')
-rw-r--r--src/ui/inputwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index 165a0b32..e6782206 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -426,7 +426,7 @@ inp_readline(void)
 
         rl_callback_read_char();
 
-        if (rl_line_buffer && rl_line_buffer[0] != '/') {
+        if (rl_line_buffer && rl_line_buffer[0] != '/' && rl_line_buffer[0] != '\0' && rl_line_buffer[0] != '\n') {
             prof_handle_activity();
         }