mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
renderer/opengl: fix compilation for new modes style
This commit is contained in:
@ -764,7 +764,7 @@ pub fn render(
|
|||||||
self.config.background = bg;
|
self.config.background = bg;
|
||||||
self.config.foreground = fg;
|
self.config.foreground = fg;
|
||||||
}
|
}
|
||||||
if (state.terminal.modes.reverse_colors) {
|
if (state.terminal.modes.get(.reverse_colors)) {
|
||||||
self.config.background = fg;
|
self.config.background = fg;
|
||||||
self.config.foreground = bg;
|
self.config.foreground = bg;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user