mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-20 20:04:26 +00:00
core: separate default colors from modifiable colors
Default colors are those set by the user in the config file, or an actual default value if unset. The actual colors are modifiable and can be changed using the OSC 4, 10, and 11 sequences.
This commit is contained in:
@@ -263,11 +263,11 @@ fn drainMailbox(self: *Thread) !void {
|
||||
},
|
||||
|
||||
.foreground_color => |color| {
|
||||
self.renderer.config.foreground = color;
|
||||
self.renderer.foreground_color = color;
|
||||
},
|
||||
|
||||
.background_color => |color| {
|
||||
self.renderer.config.background = color;
|
||||
self.renderer.background_color = color;
|
||||
},
|
||||
|
||||
.resize => |v| {
|
||||
|
||||
Reference in New Issue
Block a user