keycode comment

This commit is contained in:
Keyoonz
2024-09-24 12:38:20 +02:00
parent f7f59bffc4
commit 297eef4ce2
+12
View File
@@ -6,6 +6,18 @@
#include "terminal.h"
#include <unistd.h>
// KEYS keycode
//
// ARROW_UP \x1b[A
// ARROW_DOWN \x1b[B
// ARROW_RIGHT \x1b[C
// ARROW_LEFT \x1b[D
// PAGE_UP \x1b[5~
// PAGE_DOWN \x1b[6~
// HOME \x1b[1~ || <esc>[7~ || <esc>[H || <esc>OH
// END \x1b[4~ || <esc>[8~ || <esc>[F || <esc>OF
// DELETE \x1b[3~
void editorMoveCursor(struct editorConfig *E, int key);
/**