nnn

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

commit 86f12b0d72fc4dd69b74352f0f76d652a5f357ce
parent 45cd7f0d5b2ebcc27410e04955750cf20d92821e
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 18 Jan 2026 16:15:04 +0530

Fix #2107: honor directory refresh indication from plugin

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

diff --git a/src/nnn.c b/src/nnn.c @@ -8503,11 +8503,14 @@ nochange: return EXIT_SUCCESS; } while (handle_cur_move(action)); - cfg.filtermode ? presel = FILTER : statusbar(path); copycurname(); - if (action != SEL_REDRAW) - goto nochange; + 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) {