diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-25 07:57:33 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-25 07:57:33 -0400 |
| commit | 3deb0ff68ac6be482f120539d8b3d1ca65258916 (patch) | |
| tree | 1c5386a4154aea938821bf3be02f5654801dd5ac | |
| parent | 076af653df96bcd37a2615b455795b4e74a6d108 (diff) | |
| download | fujinet-chat-3deb0ff68ac6be482f120539d8b3d1ca65258916.tar.gz | |
Fix start_latch bug.
| -rw-r--r-- | TODO | 2 | ||||
| -rw-r--r-- | src/irc.c | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -17,8 +17,6 @@ X Configurable ctcp version response. Not going to do for now. Having Other stuff: -- [*] BUG: after start+number, start+a, start+tab, the first keystroke - gets ignored. Does not happen with esc or ctrl-numbers. - [*] Start+A should *always* switch windows, even if all are inactive. It can act like Start+Left in that case. - [*] Auto-pinging the server seems to work, but needs more testing. @@ -1041,10 +1041,11 @@ void start_keystroke(char c) { static void poll_keyboard(void) { char c; - if(GTIA_READ.consol == 6) start_latch = 1; - if(!keypress()) return; + /* have to latch start status because doing a keyclick clears CONSOL */ + if(GTIA_READ.consol == 6) start_latch = 1; + c = kgetc(); if(!c) return; |
