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();