mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 10:56:41 +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