chore: clean up typos

This commit is contained in:
Łukasz Niemier
2024-08-05 13:56:57 +02:00
parent 1b386faee9
commit f9be02a20f
46 changed files with 135 additions and 66 deletions

View File

@@ -692,7 +692,7 @@ const CsiUMods = packed struct(u3) {
return raw + 1;
}
test "modifer sequence values" {
test "modifier sequence values" {
// This is all sort of trivially seen by looking at the code but
// we want to make sure we never regress this.
var mods: CsiUMods = .{};
@@ -775,7 +775,7 @@ const KittyMods = packed struct(u8) {
return raw + 1;
}
test "modifer sequence values" {
test "modifier sequence values" {
// This is all sort of trivially seen by looking at the code but
// we want to make sure we never regress this.
var mods: KittyMods = .{};

View File

@@ -275,7 +275,7 @@ fn cursorKey(
/// format should have exactly one "hole" for the mods code.
/// Example: "\x1b[11;{}~" for F1.
fn pcStyle(comptime fmt: []const u8) []Entry {
// The comptime {} wrapper is superflous but it prevents us from
// The comptime {} wrapper is superfluous but it prevents us from
// accidentally running this function at runtime.
comptime {
var entries: [modifiers.len]Entry = undefined;