mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
termio/exec: comment about what we're updating
This commit is contained in:
@ -222,6 +222,14 @@ pub fn changeConfig(self: *Exec, config: DerivedConfig) !void {
|
|||||||
var copy = config;
|
var copy = config;
|
||||||
defer copy.deinit();
|
defer copy.deinit();
|
||||||
|
|
||||||
|
// Update the configuration that we know about.
|
||||||
|
//
|
||||||
|
// Specific things we don't update:
|
||||||
|
// - command, working-directory: we never restart the underlying
|
||||||
|
// process so we don't care or need to know about these.
|
||||||
|
|
||||||
|
// Update the palette. Note this will only apply to new colors drawn
|
||||||
|
// since we decode all palette colors to RGB on usage.
|
||||||
self.terminal.color_palette = config.palette;
|
self.terminal.color_palette = config.palette;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user