diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-18 08:37:22 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-18 08:37:22 -0400 |
| commit | 17120efa9ee2e85611092510144b1833c0ac5fb8 (patch) | |
| tree | 8ea4fe4c1068bb9c9a9decede7bff46f7a9013df | |
| parent | dd72cd2ff901b136fd01e28a71d96d9b38c7abdb (diff) | |
| download | fujinet-chat-17120efa9ee2e85611092510144b1833c0ac5fb8.tar.gz | |
Filter out a few more useless keystrokes.
| -rw-r--r-- | TODO | 6 | ||||
| -rw-r--r-- | src/edbox.c | 3 |
2 files changed, 5 insertions, 4 deletions
@@ -14,11 +14,9 @@ FujiChat features, we're almost at parity! Other stuff: +- Filtered-out keystrokes (ctrl-3 and friends) shouldn't even bring up + the editbox, if it's not already showing. - Auto-pinging the server seems to work, but needs more testing. -- Add Start+Crtl+D keystroke, to forcibly disconnect from the server. - For debugging (checking the server ping timeout stuff)! -- Filter out remaining ATASCII keystrokes we aren't using: Shift-Tab, - Ctrl-Tab, Ctrl-2. Or else find a use for them :) - *Thoroughly* test the nick and channel tab completion for the [private] and [server] screens. - Fix the nick completion in channel screens. It works, but needs some diff --git a/src/edbox.c b/src/edbox.c index b043233..bcc41a4 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -253,6 +253,9 @@ void edbox_keystroke(void) { c = 0x02; /* ^B = IRC bold formatting char */ break; case 0x9a: /* ctrl-3 (crash if cgetc() reads it!) */ + case 0x9e: /* ctrl-2 */ + case 0x6c: /* shift-tab */ + case 0xac: /* ctrl-tab */ OS.ch = 0xff; /* ignore it! */ return; break; |
