From ded1053f8b525e78d1121fd7f0a764ec5cc8cc05 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 17 Mar 2026 05:52:37 -0400 Subject: Tab complete PM nics (private screen only). Also, no need to prefix messages with /m in server or private screens. --- src/edbox.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/edbox.h') diff --git a/src/edbox.h b/src/edbox.h index c919ee9..4863407 100644 --- a/src/edbox.h +++ b/src/edbox.h @@ -5,6 +5,7 @@ #define EDBOX_SIZE 240 extern int edbox_visible; +extern u16 edbox_len; /* clear the contents of the edit box (whether it's visible or not) */ void edbox_clear(void); @@ -24,3 +25,6 @@ void edbox_keystroke(void); /* called when the user presses Return */ extern void (*edbox_callback)(void); + +/* set edit box contents (clears out whatever was there) */ +void edbox_set(char *contents); -- cgit v1.2.3