mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Do not swallow keypress after printwait (#461)
This commit is contained in:
parent
c0f423496e
commit
099a9af289
|
@ -2024,12 +2024,10 @@ static int nextsel(int presel)
|
||||||
//DPRINTF_D(c);
|
//DPRINTF_D(c);
|
||||||
//DPRINTF_S(keyname(c));
|
//DPRINTF_S(keyname(c));
|
||||||
|
|
||||||
/* Clear previous filter when manually starting */
|
if (c == ERR && presel == MSGWAIT)
|
||||||
if (c == FILTER)
|
|
||||||
clearfilter();
|
|
||||||
|
|
||||||
if (presel == MSGWAIT)
|
|
||||||
c = (cfg.filtermode) ? FILTER : CONTROL('L');
|
c = (cfg.filtermode) ? FILTER : CONTROL('L');
|
||||||
|
else if (c == FILTER) /* Clear previous filter when manually starting */
|
||||||
|
clearfilter();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c == -1) {
|
if (c == -1) {
|
||||||
|
|
Loading…
Reference in a new issue