aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-21 04:56:41 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-21 04:56:41 -0400
commitab2c13a26d23e336fca881e1375235aff4f2dc5e (patch)
tree733ad874f7c3baefcca658d3a5611f2e6cfd9f75 /src/irc.c
parent7c0d10714404d0ae82b3c570f0c9e44d0faeb565 (diff)
downloadfujinet-chat-ab2c13a26d23e336fca881e1375235aff4f2dc5e.tar.gz
Control and numbers 1-7 switch screens.
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/irc.c b/src/irc.c
index 91784b7..137e66c 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -919,13 +919,15 @@ static void toggle_edbox_only(void) {
OS.sdlst = edbox_only_dlist;
}
-static void start_keystroke(void) {
+void start_keystroke(void) {
char i, s;
i = cgetc();
- start_latch = 0;
- if(i == CH_ESC) return;
+ start_latch = OS.escflg = OS.invflg = 0;
+ if(i == CH_ESC) {
+ return;
+ }
if(i >= '1' && i <= '7') {
s = i - '1';