]> Sergey Matveev's repositories - nnn.git/commitdiff
Clear selection after successful plugin invocation
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 9 Feb 2021 22:54:40 +0000 (04:24 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 9 Feb 2021 22:55:08 +0000 (04:25 +0530)
src/nnn.c

index 5ea4da342d3181c44670033ee03d5d4d697d91a6..8edb2a2afa3c75ff1fad078d381f92a65c5aa937 100644 (file)
--- 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();