about summary refs log tree commit diff stats
path: root/src/kilo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kilo.c')
-rw-r--r--src/kilo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kilo.c b/src/kilo.c
index dc40fb0..b2f9a18 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -810,7 +810,7 @@ static void editorFind() {
         mvprintw(LINES-2, 0, "Find: %s", query);
 
         int c = getch();
-        if (c == KEY_BACKSPACE) {
+        if (c == TELIVA_BACKSPACE) {
             if (qlen != 0) query[--qlen] = '\0';
             last_match = -1;
         } else if (c == ESC || c == ENTER) {