aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc.c b/src/irc.c
index 01b57e8..6391ca2 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -1037,8 +1037,8 @@ static void keystroke(void) {
start_keystroke();
} else {
edbox_keystroke();
+ OS.cdtmv3 = hz / 2;
}
- OS.cdtmv3 = hz / 2;
}
/* only exits on error (e.g. connection closed, which might be via /QUIT). */
@@ -1059,6 +1059,7 @@ void irc_loop(void) {
if(!irc_read() || !service_minute_timer()) {
return;
}
+ OS.cdtmv3 = 0;
do {
keystroke();
} while(OS.cdtmv3);