Do not swallow keypress after printwait (#461)

This commit is contained in:
Maxim Baz 2020-02-01 15:37:18 +01:00 committed by GitHub
parent c0f423496e
commit 099a9af289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {