From: Arun Prakash Jana Date: Sat, 21 Dec 2019 04:33:05 +0000 (+0530) Subject: Show message on invalid key X-Git-Tag: v2.9~134 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9dee99b4568dd96a971b9e1bef4195c567e5e017;p=nnn.git Show message on invalid key --- 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; }