commit 2c57e0403329e920dd81d07c4f1a7f0ededda04e
parent bcd0ec3c5e01f68f8cc2cc25bafd6fe9cbd21f64
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 1 Feb 2026 02:00:59 +0530
Do not show filter prompt when starting in du mode
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -7376,13 +7376,13 @@ static bool browse(char *ipath, int pkey)
newpath[0] = runfile[0] = '\0';
- presel = pkey ? ((pkey == CREATE_NEW_KEY) ? 'n' : ';') : ((cfg.filtermode
+ presel = pkey ? ((pkey == CREATE_NEW_KEY) ? 'n' : ';') : (((cfg.filtermode
#ifndef NOSSN
|| (curssn[0] && (g_ctx[cfg.curctx].c_fltr[0] == FILTER
|| g_ctx[cfg.curctx].c_fltr[0] == RFILTER)
&& g_ctx[cfg.curctx].c_fltr[1])
#endif
- ) ? FILTER : 0);
+ ) && !cfg.blkorder) ? FILTER : 0);
pdents = xrealloc(pdents, total_dents * sizeof(struct entry));
if (!pdents)