aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-17 06:56:38 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-17 06:57:14 -0400
commit463b67e23ebe42134a1cf0f62569b7c772e9ed66 (patch)
tree946118ff11adc6525ceb0760cfd3aa22bb706338 /src/edbox.c
parentded1053f8b525e78d1121fd7f0a764ec5cc8cc05 (diff)
downloadfujinet-chat-463b67e23ebe42134a1cf0f62569b7c772e9ed66.tar.gz
Channel tab completion for the [server] screen.
Diffstat (limited to 'src/edbox.c')
-rw-r--r--src/edbox.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/edbox.c b/src/edbox.c
index 5d529d3..2bb1cef 100644
--- a/src/edbox.c
+++ b/src/edbox.c
@@ -272,6 +272,11 @@ void edbox_keystroke(void) {
show_cursor();
}
+void edbox_space(void) {
+ edit_box[edbox_len++] = ' ';
+ edbox_pos = edbox_len;
+}
+
void edbox_set(char *contents) {
edbox_clear();
while(*contents) {