nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f6b14f6505bd8887b37fee4e2269ac9940607993
parent b397606d0a0e5460a3eb1c70209a14f848254304
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 28 May 2021 23:31:20 +0530

Restore hovered file name on select and run plugin

Diffstat:
Msrc/nnn.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -6432,8 +6432,10 @@ nochange: if (g_state.picked) return EXIT_SUCCESS; - if (runfile[0]) + if (runfile[0]) { + xstrsncpy(lastname, runfile, NAME_MAX + 1); runfile[0] = '\0'; + } clearfilter(); setdirwatch(); goto begin;