nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit df6088e46f032750b066fab76bc49fef842e8e3a
parent 579922d3253abbee5f3047e9d67379218a96ea8d
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 17 Jan 2026 10:05:06 +0530

Retain filter after using floating window

Diffstat:
Msrc/nnn.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -8515,15 +8515,11 @@ nochange: return EXIT_SUCCESS; } while (handle_cur_move(action)); - if (action == SEL_REDRAW) - r = TRUE; - + cfg.filtermode ? presel = FILTER : statusbar(path); copycurname(); - if (!r) { - cfg.filtermode ? presel = FILTER : statusbar(path); + if (action != SEL_REDRAW) goto nochange; - } } else { /* 'Return/Enter' enters the plugin directory */ g_state.runplugin ^= 1; if (!g_state.runplugin) {