summaryrefslogtreecommitdiff
path: root/src/ninep
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep')
-rw-r--r--src/ninep/ctl.zig2
-rw-r--r--src/ninep/tree.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 4749fc94..05e13edc 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -1864,7 +1864,7 @@ test "after a ThemeFile the root ctl and DumpConfig say ThemeFile and its path,
.theme_name = p.theme().name,
.theme_file = pardes.colors.loadedThemeFile(p),
.compiled_default_shell = config.defaultShell(),
- .hover_delay_frames = null,
+ .hover_delay_frames = config.look_preview_delay_frames,
.native_images = false,
.capabilities = builtins.capabilities,
.state = &p.settings,
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();