nnn.c | 9 ++------- diff --git a/nnn.c b/nnn.c index 2fceeaef04e05a1ad6b3616ba5e4ef1271ca26b3..45a1a674ccc41b104ded8021fcec4cba95790fba 100644 --- a/nnn.c +++ b/nnn.c @@ -912,14 +912,9 @@ continue; redraw(path); printprompt(ln); break; - case KEY_DOWN: // fallthrough - case KEY_UP: // fallthrough - case KEY_LEFT: // fallthrough - case KEY_RIGHT: // fallthrough - case KEY_F(2): + default: if (len == 1) - cur = oldcur; // fallthrough - default: + cur = oldcur; goto end; } end: