summaryrefslogtreecommitdiff
path: root/src/builtins.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/builtins.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/builtins.zig')
-rw-r--r--src/builtins.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index a6a2f95b..5d752353 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -510,7 +510,7 @@ test "Ligatures is a setting only in the shell that shapes text" {
.platform = @tagName(pardes.platform),
.theme_name = p.theme().name,
.compiled_default_shell = config.defaultShell(),
- .hover_delay_frames = null,
+ .hover_delay_frames = config.look_preview_delay_frames,
.native_images = false,
.capabilities = viewCapabilities(p),
.state = &p.settings,