This commit is contained in:
Mitchell Hashimoto
2024-08-21 09:45:36 -04:00
parent 8df5ec10e3
commit 140d1dde5a
3 changed files with 3 additions and 3 deletions

View File

@ -211,7 +211,7 @@ pub const RGB = struct {
/// 3. #rgb, #rrggbb, #rrrgggbbb #rrrrggggbbbb /// 3. #rgb, #rrggbb, #rrrgggbbb #rrrrggggbbbb
/// ///
/// where `r`, `g`, and `b` are a single hexadecimal digit. /// where `r`, `g`, and `b` are a single hexadecimal digit.
/// These specifiy a color with 4, 8, 12, and 16 bits of precision /// These specify a color with 4, 8, 12, and 16 bits of precision
/// per color channel. /// per color channel.
pub fn parse(value: []const u8) !RGB { pub fn parse(value: []const u8) !RGB {
if (value.len == 0) { if (value.len == 0) {

View File

@ -19,7 +19,7 @@ pub const OSC = struct {
}; };
pub const Kind = enum(u9) { pub const Kind = enum(u9) {
// Make sure that this stays in sync with the higest numbered enum // Make sure that this stays in sync with the highest numbered enum
// value. // value.
pub const max: u9 = 263; pub const max: u9 = 263;

View File

@ -139,7 +139,7 @@ pub const Command = union(enum) {
value: []const u8, value: []const u8,
}, },
/// Kitty color protocl, OSC 21 /// Kitty color protocol, OSC 21
/// https://sw.kovidgoyal.net/kitty/color-stack/#id1 /// https://sw.kovidgoyal.net/kitty/color-stack/#id1
kitty_color_protocol: kitty.color.OSC, kitty_color_protocol: kitty.color.OSC,