nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e901615fcc0cfaa37f26a08826156b4dc7bb4c67
parent 8886f1cd561b4a27ac08c2df65659c52ccc392fc
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Thu,  4 Mar 2021 23:55:41 +0530

Add check for non-empty selection buffer

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2088,7 +2088,7 @@ static bool cpmvrm_selection(enum action sel, char *path) { int r; - if (isselfileempty()) { + if (!selbufpos && isselfileempty()) { printmsg(messages[MSG_0_SELECTED]); return FALSE; }