diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-17 05:52:37 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-17 05:52:37 -0400 |
| commit | ded1053f8b525e78d1121fd7f0a764ec5cc8cc05 (patch) | |
| tree | e3872cde44718589276550ede7d9aae4ebd75c07 /src/edbox.h | |
| parent | e3b45c4788189bd04ed4cf9806191363715419ce (diff) | |
| download | fujinet-chat-ded1053f8b525e78d1121fd7f0a764ec5cc8cc05.tar.gz | |
Tab complete PM nics (private screen only). Also, no need to prefix messages with /m in server or private screens.
Diffstat (limited to 'src/edbox.h')
| -rw-r--r-- | src/edbox.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
