summaryrefslogtreecommitdiff
path: root/core/File.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/File.zig')
-rw-r--r--core/File.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/File.zig b/core/File.zig
index 0f9178ac..332499b4 100644
--- a/core/File.zig
+++ b/core/File.zig
@@ -2942,7 +2942,7 @@ pub fn recolorSyntax(p: *Pardes, s: *Surface, pane: *Pane, f: *State, r: pardes.
// A row whose first byte names a hue (syntax.ground_add, _del): its
// grounds, the theme's, worked out once a frame and only for one.
var grounds: ?Colors.Grounds = null;
- const ink = ansi.inkOf(p.theme());
+ const ink = ansi.inkOf(p);
var filtered_storage: pardes.Term.Filter = undefined;
const filtered: ?*pardes.Term.Filter = if (pane.tty_filter and spans.len > 0) blk: {
filtered_storage = pardes.Term.filter(&ink, &p.tty_filter_palette);