feat: set terminal cursor color to match theme

This commit is contained in:
CJ van den Berg 2024-11-07 10:54:43 +01:00
parent 4360390b89
commit bf6e4f49b8
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 10 additions and 3 deletions

View file

@ -931,6 +931,8 @@ pub const fallbacks: []const FallBack = &[_]FallBack{
};
fn set_terminal_style(self: *Self) void {
if (self.config.enable_terminal_color_scheme)
if (self.config.enable_terminal_color_scheme) {
self.rdr.set_terminal_style(self.theme.editor);
self.rdr.set_terminal_cursor_color(self.theme.editor_cursor.bg.?);
}
}