From dc6297d5df43f87d1ed2ea1b5c1f5a5193ec235a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 2 Mar 2026 22:03:10 -0500 Subject: Fix "nick already in use" and permutation. --- src/edbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/edbox.c') diff --git a/src/edbox.c b/src/edbox.c index 0903cb9..167bdc2 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -200,6 +200,8 @@ void edbox_keystroke(void) { case 0x3c: /* caps */ OS.shflok ^= 0x40; keyclick(); + OS.ch = 0xff; + return; break; case 0x7c: /* shift-caps */ case 0xbc: /* ctrl-caps */ @@ -207,7 +209,8 @@ void edbox_keystroke(void) { case 0x67: /* ...w/shift */ case 0x97: /* ...w/ctrl */ case 0x9a: /* ctrl-3 (crash if cgetc() reads it!) */ - return; /* ignore it! */ + OS.ch = 0xff; /* ignore it! */ + return; break; default: break; -- cgit v1.2.3