mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
typos
This commit is contained in:
@ -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) {
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user