From: Arun Prakash Jana Date: Fri, 28 May 2021 18:01:20 +0000 (+0530) Subject: Restore hovered file name on select and run plugin X-Git-Tag: v4.1~19 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f6b14f6505bd8887b37fee4e2269ac9940607993;p=nnn.git Restore hovered file name on select and run plugin --- diff --git a/src/nnn.c b/src/nnn.c index 6faca85d..544067f0 100644 --- 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;