aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-15 01:16:23 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-15 01:16:23 -0400
commita9a2e7df4a81494f4e6b06b02b9559806b931291 (patch)
tree932f113a1a5ff410a6f754eadde2d7f1031cd7f8 /src/edbox.c
parent23a6f7b40bb4a603bc4d7f6b80ce09df7723224f (diff)
downloadfujinet-chat-a9a2e7df4a81494f4e6b06b02b9559806b931291.tar.gz
update editbox after every keystroke, not just "normal" ones that cause edbox_putc().
Diffstat (limited to 'src/edbox.c')
-rw-r--r--src/edbox.c2
1 files changed, 1 insertions, 1 deletions
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();
}