mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 21:40:29 +00:00
terminal: osc 10-19 should use next function
This commit is contained in:
@@ -221,10 +221,7 @@ fn parseGetSetDynamicColor(
|
||||
}
|
||||
|
||||
// Each successive value uses the next color so long as it exists.
|
||||
color = std.meta.intToEnum(
|
||||
DynamicColor,
|
||||
@intFromEnum(color) + 1,
|
||||
) catch return result;
|
||||
color = color.next() orelse return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user