From 9dee99b4568dd96a971b9e1bef4195c567e5e017 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 21 Dec 2019 10:03:05 +0530 Subject: [PATCH] Show message on invalid key --- src/nnn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 124b0cd4..20b7b256 100644 --- 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; }