diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-21 04:56:41 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-21 04:56:41 -0400 |
| commit | ab2c13a26d23e336fca881e1375235aff4f2dc5e (patch) | |
| tree | 733ad874f7c3baefcca658d3a5611f2e6cfd9f75 /src/irc.c | |
| parent | 7c0d10714404d0ae82b3c570f0c9e44d0faeb565 (diff) | |
| download | fujinet-chat-ab2c13a26d23e336fca881e1375235aff4f2dc5e.tar.gz | |
Control and numbers 1-7 switch screens.
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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'; |
