mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Show message on invalid key
This commit is contained in:
parent
2863278790
commit
9dee99b456
|
@ -1500,8 +1500,7 @@ static bool cpmvrm_selection(enum action sel, char *path, int *presel)
|
||||||
case SEL_CPMVAS:
|
case SEL_CPMVAS:
|
||||||
r = get_input(messages[MSG_CP_MV_AS]);
|
r = get_input(messages[MSG_CP_MV_AS]);
|
||||||
if (r != 'c' && r != 'm') {
|
if (r != 'c' && r != 'm') {
|
||||||
if (cfg.filtermode)
|
printwait(messages[MSG_INVALID_KEY], presel);
|
||||||
*presel = FILTER;
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue