From a9a2e7df4a81494f4e6b06b02b9559806b931291 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 15 Mar 2026 01:16:23 -0400 Subject: update editbox after every keystroke, not just "normal" ones that cause edbox_putc(). --- TODO | 5 +---- src/edbox.c | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index cb2f068..083d3e2 100644 --- a/TODO +++ b/TODO @@ -12,13 +12,10 @@ FujiChat features, we're almost at parity! Other stuff: -- Allow typing a character in the last edit box position. +- Start+E: show entire editbox (plus status, but not screen text). - Make Start+A search backwards (from screen 7), since [server] is the least interesting screen (we don't want it constantly coming up first). -- Atari key should insert a ^B. Then the actual ^B keystroke can - do something else. -- ^B and ^F for back/forward one word in the editbox. - Server /ping command is iffy (see do_server_pong() in irc.c). - Bug: *no idea* how this happened. I typed /quit, then reconnected, and got "USER: not enough parameters" from the server. Can't diff --git a/src/edbox.c b/src/edbox.c index 6dfaaca..f8f334c 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -62,7 +62,6 @@ void edbox_putc(char c) { memmove(edit_box + edbox_pos + 1, edit_box + edbox_pos, EDBOX_SIZE - edbox_pos - 1); edit_box[edbox_pos++] = c; edbox_len++; - edbox_show(); } static void fake_keystroke(char c) { @@ -246,5 +245,6 @@ void edbox_keystroke(void) { normal_keystroke(); } + edbox_show(); show_cursor(); } -- cgit v1.2.3