aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-02-16 21:13:41 -0500
committerB. Watson <urchlay@slackware.uk>2026-02-16 21:13:41 -0500
commit5ab86143c9d0b0c86411f7067cf9649f7f0d3311 (patch)
tree44cc25726ebd6dd8c8e62876be25150a299a6c2f /src/edbox.h
parent126c147638538ce54fc21a3803955b3693a99add (diff)
downloadfujinet-chat-5ab86143c9d0b0c86411f7067cf9649f7f0d3311.tar.gz
New UI stuff, not yet working.
Diffstat (limited to 'src/edbox.h')
-rw-r--r--src/edbox.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/edbox.h b/src/edbox.h
new file mode 100644
index 0000000..ad70cc6
--- /dev/null
+++ b/src/edbox.h
@@ -0,0 +1,14 @@
+#include "addrs.h"
+
+/**** public API ****/
+
+#define EDBOX_SIZE 160
+
+void edbox_clear(void);
+void edbox_show(void);
+void edbox_hide(void);
+void edbox_putc(char c);
+void edbox_keystroke(void);
+
+/* called when the user presses Enter */
+extern void (*edbox_callback)(void);