aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/edbox.h')
-rw-r--r--src/edbox.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/edbox.h b/src/edbox.h
index 67fd3fa..e4069a0 100644
--- a/src/edbox.h
+++ b/src/edbox.h
@@ -2,11 +2,12 @@
/**** public API ****/
-// #define EDBOX_SIZE 20 /* for testing only! */
-// #define EDBOX_MAXPOS 19 /* 1 less than EDBOX_SIZE! */
#define EDBOX_SIZE 240
#define EDBOX_MAXPOS 239
+typedef char edbox_t[EDBOX_SIZE];
+#define edit_box (*(edbox_t *)EDBOX_ADDR)
+
extern char edbox_visible;
extern char edbox_len;