Przeglądaj źródła

Reset current on empty filter prompt

master
Arun Prakash Jana 8 lat temu
rodzic
commit
fb4263a736
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 2 dodań i 7 usunięć
  1. +2
    -7
      nnn.c

+ 2
- 7
nnn.c Wyświetl plik

@@ -912,14 +912,9 @@ readln(char *path)
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):
if (len == 1)
cur = oldcur; // fallthrough
default:
if (len == 1)
cur = oldcur;
goto end;
}
end:


Ładowanie…
Anuluj
Zapisz