feat: set secondary cursors color from theme in multi cursor mode

This commit is contained in:
CJ van den Berg 2025-09-08 22:07:10 +02:00
parent 44e19d2193
commit 251c74a23b
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 14 additions and 0 deletions

View file

@ -1448,6 +1448,8 @@ fn set_terminal_style(self: *Self) void {
if (build_options.gui or 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.?);
if (self.rdr_.vx.caps.multi_cursor)
self.rdr_.set_terminal_secondary_cursor_color(self.theme_.editor_cursor_secondary.bg orelse self.theme_.editor_cursor.bg.?);
}
}