From 0b9b047188bc61043095839d2af0e414eced4688 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 18 Mar 2026 03:07:00 -0400 Subject: Tab completion getting better. Add a : after the nick, in channel screens. --- src/edbox.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/edbox.c') diff --git a/src/edbox.c b/src/edbox.c index 2bb1cef..b043233 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -272,11 +272,15 @@ void edbox_keystroke(void) { show_cursor(); } -void edbox_space(void) { - edit_box[edbox_len++] = ' '; +void edbox_addchr(char c) { + edit_box[edbox_len++] = c; edbox_pos = edbox_len; } +void edbox_space(void) { + edbox_addchr(' '); +} + void edbox_set(char *contents) { edbox_clear(); while(*contents) { -- cgit v1.2.3