From 297eef4ce2ecf77dbb8318b52e51f696ce41505f Mon Sep 17 00:00:00 2001 From: Keyoonz <89485044+Keyoonz@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:38:20 +0200 Subject: [PATCH] keycode comment --- include/input.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/input.h b/include/input.h index ab43a38..1b27d3a 100644 --- a/include/input.h +++ b/include/input.h @@ -6,6 +6,18 @@ #include "terminal.h" #include +// 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~ || [7~ || [H || OH +// END \x1b[4~ || [8~ || [F || OF +// DELETE \x1b[3~ + void editorMoveCursor(struct editorConfig *E, int key); /**