diff options
author | James Booth <boothj5@gmail.com> | 2015-02-01 00:35:42 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-02-01 00:35:42 +0000 |
commit | a9af8785a7b96af0288f3bb2cbc7128293a29917 (patch) | |
tree | ca2da04896dd942abe44cc9af9eef7925bacce01 /src | |
parent | e8b6c505cb825422ee467c9210ba0b87097aa85d (diff) | |
download | profani-tty-a9af8785a7b96af0288f3bb2cbc7128293a29917.tar.gz |
Added more ignore characters to handle activity
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/inputwin.c | 2 |
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(); } |