From 140d1dde5a4630369f9edd686825b962fdf2ec04 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 21 Aug 2024 09:45:36 -0400 Subject: [PATCH] typos --- src/terminal/color.zig | 2 +- src/terminal/kitty/color.zig | 2 +- src/terminal/osc.zig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/terminal/color.zig b/src/terminal/color.zig index 46aa2aaae..df94baf0e 100644 --- a/src/terminal/color.zig +++ b/src/terminal/color.zig @@ -211,7 +211,7 @@ pub const RGB = struct { /// 3. #rgb, #rrggbb, #rrrgggbbb #rrrrggggbbbb /// /// 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. pub fn parse(value: []const u8) !RGB { if (value.len == 0) { diff --git a/src/terminal/kitty/color.zig b/src/terminal/kitty/color.zig index 97acbcaff..e896ae091 100644 --- a/src/terminal/kitty/color.zig +++ b/src/terminal/kitty/color.zig @@ -19,7 +19,7 @@ pub const OSC = struct { }; 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. pub const max: u9 = 263; diff --git a/src/terminal/osc.zig b/src/terminal/osc.zig index 17b52ab13..16f9ad7a0 100644 --- a/src/terminal/osc.zig +++ b/src/terminal/osc.zig @@ -139,7 +139,7 @@ pub const Command = union(enum) { value: []const u8, }, - /// Kitty color protocl, OSC 21 + /// Kitty color protocol, OSC 21 /// https://sw.kovidgoyal.net/kitty/color-stack/#id1 kitty_color_protocol: kitty.color.OSC,