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
1 changed files with 3 additions and 5 deletions

View File

@ -2024,12 +2024,10 @@ static int nextsel(int presel)
//DPRINTF_D(c);
//DPRINTF_S(keyname(c));
/* Clear previous filter when manually starting */
if (c == FILTER)
clearfilter();
if (presel == MSGWAIT)
if (c == ERR && presel == MSGWAIT)
c = (cfg.filtermode) ? FILTER : CONTROL('L');
else if (c == FILTER) /* Clear previous filter when manually starting */
clearfilter();
}
if (c == -1) {