From ab68569281a0065331733f06e2a72e888cbde860 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 15 Aug 2023 13:33:06 -0700 Subject: [PATCH] renderer/opengl: fix compilation for new modes style --- src/renderer/OpenGL.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/OpenGL.zig b/src/renderer/OpenGL.zig index a0c4f4ec4..e26492323 100644 --- a/src/renderer/OpenGL.zig +++ b/src/renderer/OpenGL.zig @@ -764,7 +764,7 @@ pub fn render( self.config.background = bg; self.config.foreground = fg; } - if (state.terminal.modes.reverse_colors) { + if (state.terminal.modes.get(.reverse_colors)) { self.config.background = fg; self.config.foreground = bg; }