summaryrefslogtreecommitdiff
path: root/src/tagline.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 12:43:02 -0300
committerGabriel Schneider <[email protected]>2026-10-24 13:11:11 -0300
commit1af098381515fbe3a4fe678cd023c7fd74418ae1 (patch)
tree34f8f1495ddbea9542d23af68db53f244a1ec4c5 /src/tagline.zig
parent8ac6db5662dd2db0f082e1651835f1db36e235f8 (diff)
downloadpardes-1af098381515fbe3a4fe678cd023c7fd74418ae1.tar.gz
pardes-1af098381515fbe3a4fe678cd023c7fd74418ae1.zip
Search converge 5/6: the old search pipeline phased out, the notice-band / for texts, Find/Grep prompts and walks on the loop, +Recent, n/N as Look-the-next-row; docs, tutor, Help and goldens to the query pane
Diffstat (limited to 'src/tagline.zig')
-rw-r--r--src/tagline.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tagline.zig b/src/tagline.zig
index 3c8dd3e1..c057772d 100644
--- a/src/tagline.zig
+++ b/src/tagline.zig
@@ -184,6 +184,7 @@ pub fn curTail(pane: *Pane) []const u8 {
pub fn defaultTail(pane: *const Pane) []const u8 {
if (comptime pdf_enabled) if (pane.pdf != null) return pdf_pane_tail;
if (pane.query) |q| return if (q.frozen) query_frozen_tail else if (q.capped) query_capped_tail else query_live_tail;
+ if (pane.file) |file| if (file.output) |out| if (out.from == .preview) return query_live_tail;
if (pane.file) |file| if (file.listing != null) return dir_pane_tail;
if (pane.file) |file| if (file.pager) return if (file.pager_diff) pager_diff_pane_tail else pager_pane_tail;
if (pane.file != null and pane.colorAlgo() == .diff) return diff_pane_tail;