From 026f76f14cdf6f67d29ed3cfd5804b2e2890bf6f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 10 Feb 2021 04:24:40 +0530 Subject: [PATCH] Clear selection after successful plugin invocation --- src/nnn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index 5ea4da34..8edb2a2a 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6250,6 +6250,7 @@ nochange: if (runfile[0]) runfile[0] = '\0'; clearfilter(); + clearselection(); setdirwatch(); goto begin; } @@ -6984,6 +6985,8 @@ nochange: goto nochange; } + clearselection(); + if (ndents) copycurname();