Handling commands after /disconnect

This commit is contained in:
James Booth
2012-11-19 23:15:42 +00:00
parent 346ed2a8e8
commit 118d97cd90
7 changed files with 97 additions and 18 deletions

View File

@@ -57,6 +57,7 @@
#include "history.h"
#include "log.h"
#include "preferences.h"
#include "profanity.h"
#include "ui.h"
static WINDOW *inp_win;
@@ -145,11 +146,11 @@ inp_get_char(int *ch, char *input, int *size)
if (prefs_get_states()) {
if (*ch == ERR) {
win_no_activity();
prof_handle_idle();
}
if (prefs_get_outtype() && (*ch != ERR) && !in_command
&& _printable(*ch)) {
win_activity();
prof_handle_activity();
}
}