terminal: osc 10-19 should use next function

pull/8590/head
Mitchell Hashimoto 2025-09-11 11:27:25 -07:00
parent 83dd578cc5
commit 4350804f0a
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 4 deletions

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