nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9dee99b4568dd96a971b9e1bef4195c567e5e017
parent 2863278790ad5042f3ffce867dc807a71fb15be6
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 21 Dec 2019 10:03:05 +0530

Show message on invalid key

Diffstat:
Msrc/nnn.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -1500,8 +1500,7 @@ static bool cpmvrm_selection(enum action sel, char *path, int *presel) case SEL_CPMVAS: r = get_input(messages[MSG_CP_MV_AS]); if (r != 'c' && r != 'm') { - if (cfg.filtermode) - *presel = FILTER; + printwait(messages[MSG_INVALID_KEY], presel); return FALSE; }