terminal: osc 10-19 should use next function
parent
83dd578cc5
commit
4350804f0a
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue