aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Maxim Baz <git@maximbaz.com>2019-12-29 20:04:39 +0100
committerGravatar Mischievous Meerkat <engineerarun@gmail.com>2019-12-30 00:34:39 +0530
commit4e59ffd9d097a3a988d0ee16befef994c695d145 (patch)
tree816f602d10259d948da0f1e7ce7267cacebd6f35
parent8955d039c66251cb62eb2c49ca745c398edd4db1 (diff)
downloadnnn-4e59ffd9d097a3a988d0ee16befef994c695d145.tar.gz
Make showsel print warning when nothing is selected (#423)
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 42d2298..93ef24d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5007,6 +5007,7 @@ nochange:
presel = FILTER;
break;
}
+ printwait(messages[MSG_0_SELECTED], &presel);
goto nochange;
case SEL_SELEDIT:
r = editselection();