From 6bad8fa605f5011cadab428156c18b4067922185 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 24 Mar 2020 18:46:44 -0400 Subject: Added support in SuBEditor for true backspace, and inserting characters without replacing the old ones. --- programs/c-ports/subeditor.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'programs/c-ports/subeditor.h') 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 #include #include +#include #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(); -- cgit v1.2.3-13-gbd6f