diff options
| author | 2020-02-01 15:37:18 +0100 | |
|---|---|---|
| committer | 2020-02-01 20:07:18 +0530 | |
| commit | 099a9af289e97a56124a47dee6b1c8e4855a0093 (patch) | |
| tree | f15703f1a8a421ce1d5ce141e4c7271ecb37bacd /src | |
| parent | c0f423496ea7b0d149bb64324e6590049e97d561 (diff) | |
| download | nnn-099a9af289e97a56124a47dee6b1c8e4855a0093.tar.gz | |
Do not swallow keypress after printwait (#461)
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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) { |