utf8 processing without struct
This commit is contained in:
+12
-1
@@ -11,7 +11,18 @@
|
||||
#define TAB "\x09"
|
||||
#define SPACE "\x20"
|
||||
|
||||
|
||||
enum editorKey_e {
|
||||
BACKSPACE = 127,
|
||||
ARROW_LEFT = 1000,
|
||||
ARROW_RIGHT,
|
||||
ARROW_UP,
|
||||
ARROW_DOWN,
|
||||
DEL_KEY,
|
||||
BEG_LINE,
|
||||
END_LINE,
|
||||
PAGE_UP,
|
||||
PAGE_DOWN,
|
||||
};
|
||||
|
||||
#define ABUF_INIT {NULL, 0}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user