diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-18 03:07:00 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-18 03:07:00 -0400 |
| commit | 0b9b047188bc61043095839d2af0e414eced4688 (patch) | |
| tree | 1060687339b0847eaee1d15ceb14d5777f61cc63 /src/edbox.c | |
| parent | 2ae01c91c28ea8ce05266d1e121438af140b870f (diff) | |
| download | fujinet-chat-0b9b047188bc61043095839d2af0e414eced4688.tar.gz | |
Tab completion getting better. Add a : after the nick, in channel screens.
Diffstat (limited to 'src/edbox.c')
| -rw-r--r-- | src/edbox.c | 8 |
1 files changed, 6 insertions, 2 deletions
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) { |
