diff --git a/src/winio.c b/src/winio.c index 09f2c170..7874a47d 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2499,7 +2499,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def, assert(statusbar_x <= answer_len && answer_len == strlen(answer)); - if (kbinput != '\t') + if (kbinput != NANO_TAB_KEY) tabbed = FALSE; switch (kbinput) {