summaryrefslogtreecommitdiff
path: root/src/ninep/tree.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:27:59 -0300
committerGabriel Schneider <[email protected]>2026-11-04 23:35:18 -0300
commit383256a741117596931c4e3817491041fde5229d (patch)
treeaf2ae2e868c8b514a12598c4ac7b5cd0fe2fc6f7 /src/ninep/tree.zig
parent3b790a525c964f5b1dd4c1296c8291b7ecc3da22 (diff)
downloadpardes-383256a741117596931c4e3817491041fde5229d.tar.gz
pardes-383256a741117596931c4e3817491041fde5229d.zip
config: look_preview_delay_frames is a u16, as its ?u16 was never null: every orelse return after it, look.zig's discarded delay, and the report's never-written Look hover delay: off line go, the tests passing the constant (pardes.zig, ninep/tree.zig and ctl.zig's test take one line each)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/ninep/tree.zig')
-rw-r--r--src/ninep/tree.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/tree.zig b/src/ninep/tree.zig
index bd53b6a9..6bd4e007 100644
--- a/src/ninep/tree.zig
+++ b/src/ninep/tree.zig
@@ -1442,7 +1442,7 @@ test "a listing read in chunks is what it was at the open, however the panes cha
}
test "filesystem inspection preserves pending and displayed Look hover" {
- const delay = config.look_preview_delay_frames orelse return;
+ const delay = config.look_preview_delay_frames;
const gpa = testing.allocator;
const p = try withFile(gpa, "alpha beta gamma\n");
defer p.deinit();