commit 8b754c83821e364794c95fef6b1daa853d9b8215
parent 52a61a7a040f97173d222251741b9e9c37c9a801
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 1 Apr 2026 21:50:43 +0530
Fix CI break
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/patches/restorepreview/mainline.diff b/patches/restorepreview/mainline.diff
@@ -58,13 +58,15 @@ index 9a78fb55..ca4ac0f7 100644
"NNN_MCLICK",
"NNN_SEL",
"NNN_ARCHIVE",
-@@ -859,7 +865,7 @@ static int set_sort_flags(int r);
+@@ -859,9 +865,9 @@ static int set_sort_flags(int r);
static void statusbar(char *path);
- static bool get_output(char *file, char *arg1, char *arg2, int fdout, bool page);
+ static bool get_output(char *command, char *arg1, char *arg2, int fdout, bool page);
#ifndef NOFIFO
-static void notify_fifo(bool force);
+static void notify_fifo(bool force, bool closepreview);
#endif
+ static inline bool selforparent(const char *path);
+ static void dirwalk(char *path, int entnum, bool mountpoint, bool no_aggregate);
/* Functions */
@@ -3166,7 +3172,7 @@ try_quit:
@@ -238,7 +240,7 @@ index 9a78fb55..ca4ac0f7 100644
case SEL_PROMPT:
+ if (g_state.previewer)
+ notify_fifo(FALSE, TRUE);
- r = handle_cmd(sel, path, newpath);
+ r = handle_cmd(sel, path, newpath, lastdir);
+ if (g_state.previewer) {
+ pkey = previewkey;
+ goto run_plugin;