summaryrefslogtreecommitdiff
path: root/programs/c-ports/subeditor.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-03-24 18:46:44 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-03-24 18:46:44 -0400
commit6bad8fa605f5011cadab428156c18b4067922185 (patch)
treef0924877d62849d84078ed8eb3096daec1e5c211 /programs/c-ports/subeditor.h
parent0a2f19ea6664f661aba72803a214687e92e181d4 (diff)
Added support in SuBEditor for true backspace, and
inserting characters without replacing the old ones.
Diffstat (limited to 'programs/c-ports/subeditor.h')
-rw-r--r--programs/c-ports/subeditor.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/programs/c-ports/subeditor.h b/programs/c-ports/subeditor.h
index ee5536e..ddb8947 100644
--- a/programs/c-ports/subeditor.h
+++ b/programs/c-ports/subeditor.h
@@ -2,10 +2,13 @@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
+#include <curses.h>
#define debug 0
#define debug_cmd_buf 0
+extern WINDOW *scr;
+
extern char *buffer;
extern char *cmd_buf;
@@ -33,5 +36,5 @@ extern uint8_t scr_end;
extern uint8_t wrapped;
extern void print_str(const char *str);
-int16_t str_cmp(const char *s0, uint16_t i, const char *s1, uint16_t j);
-extern void subasm();
+extern int str_cmp(const char *s0, const char *s1);
+extern uint8_t subasm();