From: Maxim Baz <git@maximbaz.com>
Date: Sun, 29 Dec 2019 19:04:39 +0000 (+0100)
Subject: Make showsel print warning when nothing is selected (#423)
X-Git-Tag: v2.9~93
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4e59ffd9d097a3a988d0ee16befef994c695d145;p=nnn.git

Make showsel print warning when nothing is selected (#423)
---

diff --git a/src/nnn.c b/src/nnn.c
index 42d22986..93ef24d5 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();