renderer/opengl: fix compilation for new modes style

This commit is contained in:
Mitchell Hashimoto
2023-08-15 13:33:06 -07:00
parent d0bf6a914f
commit ab68569281

View File

@ -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;
}