terminal: update parser to use new color parser and stream handler

This commit is contained in:
Mitchell Hashimoto
2025-09-11 12:09:52 -07:00
parent 67b7a5f267
commit 3afc8019d5
7 changed files with 367 additions and 492 deletions

View File

@@ -78,10 +78,7 @@ pub const Message = union(enum) {
password_input: bool,
/// A terminal color was changed using OSC sequences.
color_change: struct {
kind: terminal.osc.Command.ColorOperation.Kind,
color: terminal.color.RGB,
},
color_change: terminal.osc.color.ColoredTarget,
/// Notifies the surface that a tick of the timer that is timing
/// out selection scrolling has occurred. "selection scrolling"