diff options
author | James Booth <boothj5@gmail.com> | 2016-07-24 13:56:11 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-07-24 13:56:11 +0100 |
commit | 8d8f2f290d5d78d130d2db7c6fad90af2f031877 (patch) | |
tree | b69e6954acd958546c41f08da8ce459e5edde1e5 /src/ui | |
parent | 7c593c278014760c065a87edf293546794911f58 (diff) | |
download | profani-tty-8d8f2f290d5d78d130d2db7c6fad90af2f031877.tar.gz |
Moved chat state handling code to chat_state.c
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/inputwin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index e8db673c..10035d37 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -54,6 +54,7 @@ #endif #include "command/cmd_ac.h" +#include "chat_state.h" #include "common.h" #include "config/accounts.h" #include "config/preferences.h" @@ -164,7 +165,7 @@ inp_readline(void) rl_line_buffer[0] != '/' && rl_line_buffer[0] != '\0' && rl_line_buffer[0] != '\n') { - prof_handle_activity(); + chat_state_activity(); } ui_reset_idle_time(); @@ -174,7 +175,7 @@ inp_readline(void) inp_nonblocking(TRUE); } else { inp_nonblocking(FALSE); - prof_handle_idle(); + chat_state_idle(); } if (inp_line) { |