core: implement OSC 104, 110, and 111 to reset colors

This commit is contained in:
Gregory Anders
2023-11-09 16:10:05 -06:00
parent 1c0b79c40f
commit 33753f59c8
6 changed files with 169 additions and 51 deletions

View File

@@ -22,11 +22,11 @@ pub const Message = union(enum) {
font_size: font.face.DesiredSize,
/// Change the foreground color. This can be done separately from changing
/// the config file in response to an OSC 10 command
/// the config file in response to an OSC 10 command.
foreground_color: terminal.color.RGB,
/// Change the background color. This can be done separately from changing
/// the config file in response to an OSC 11 command
/// the config file in response to an OSC 11 command.
background_color: terminal.color.RGB,
/// Changes the screen size.