src/nnn.c | 2 ++ diff --git a/src/nnn.c b/src/nnn.c index af05ca99e2af0b98290f30f3b79c21a09006fac0..16dc527f18c7d555a6d7dc29369bd21540597a0e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3005,6 +3005,7 @@ pos += len + 1; psel += len + 1; } + clearselection(); return count; } @@ -5963,6 +5964,7 @@ ) { printwait(messages[MSG_FAILED], &presel); goto nochange; } + clearselection(); refresh = TRUE; break; case SEL_HELP: