aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Maxim Baz <git@maximbaz.com>2020-01-13 14:09:54 +0100
committerGravatar Mischievous Meerkat <engineerarun@gmail.com>2020-01-13 18:39:54 +0530
commit101d4e8a07aa20748ef0a1c613ab5e59307d4e45 (patch)
tree56b17f2dce3d7ffedf8d1a2e5a5768199a0bb457
parent97a50c6622532c66c5d6c4a2928c7aa8c05f2a37 (diff)
downloadnnn-101d4e8a07aa20748ef0a1c613ab5e59307d4e45.tar.gz
order toggle: show invalid key prompt (#433)
* order toggle: show invalid key prompt * don't call statusbar()
-rw-r--r--src/nnn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c5ae00c..ac7c9bb 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5033,7 +5033,9 @@ nochange:
namecmpfn = (namecmpfn == &xstrverscasecmp) ? &xstricmp : &xstrverscasecmp;
break;
default:
- cfg.filtermode ? presel = FILTER : statusbar(path);
+ if (cfg.filtermode)
+ presel = FILTER;
+ printwait(messages[MSG_INVALID_KEY], &presel);
goto nochange;
}
}