osc: clean up comments in OSC 99

This commit is contained in:
Jeffrey C. Ollie
2026-01-27 15:14:08 -06:00
committed by Mitchell Hashimoto
parent 93bf7d8104
commit 202e639d97

View File

@@ -284,10 +284,10 @@ pub fn parsePackedStruct(comptime T: type, str: []const u8) T {
return result;
}
/// Characters that are valid in a metadata value. Including `=` is
/// "technically" against the spec but is needed since Base64 encoded values
/// (with padding) are valid for some options. Including `?` is "technically"
/// against the spec but is needed since it is a valid value for the `p` option.
/// Characters that are valid in a metadata value. Including `=` is technically
/// against the spec but is needed since Base64 encoded values (with padding)
/// are valid for some options. Including `?` is technically against the spec
/// but is needed since it is a valid value for the `p` option.
const valid_metadata_value_characters: []const u8 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_/+.,(){}[]*&^%$#@!`~=?";
fn isValidMetadataValue(str: []const u8) bool {