mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Handle starting ^ at filter prompt
This commit is contained in:
parent
e26c21ce0b
commit
47aa3366c2
|
@ -1205,7 +1205,7 @@ static int filterentries(char *path)
|
||||||
|
|
||||||
if (r == OK) {
|
if (r == OK) {
|
||||||
/* Handle all control chars in main loop */
|
/* Handle all control chars in main loop */
|
||||||
if (keyname(*ch)[0] == '^') {
|
if (keyname(*ch)[0] == '^' && *ch != '^') {
|
||||||
if (len == 1)
|
if (len == 1)
|
||||||
cur = oldcur;
|
cur = oldcur;
|
||||||
goto end;
|
goto end;
|
||||||
|
|
Loading…
Reference in a new issue