terminal: osc 10-19 should use next function

This commit is contained in:
Mitchell Hashimoto
2025-09-11 11:27:25 -07:00
parent 83dd578cc5
commit 4350804f0a

View File

@@ -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;
}
}