fix(lint): correct indentation and naming convention for constants
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m9s

This commit is contained in:
2025-02-24 17:09:22 +01:00
parent 12497e92f8
commit c022d1d9e2

View File

@@ -86,7 +86,7 @@ pub const Key = packed struct {
pub fn isAscii(this: @This()) bool {
return this.mod.alt == false and this.mod.ctrl == false and // no modifier keys
(this.cp >= 32 and this.cp <= 126 or // ascii printable characters (except for input.Delete)
this.cp >= 128 and this.cp <= 255); // extended ascii codes
this.cp >= 128 and this.cp <= 255); // extended ascii codes
}
};
@@ -171,8 +171,8 @@ pub const KpLeft: u21 = 57417;
pub const KpRight: u21 = 57418;
pub const KpUp: u21 = 57419;
pub const KpDown: u21 = 57420;
pub const KpPage_Up: u21 = 57421;
pub const KpPage_Down: u21 = 57422;
pub const KpPageUp: u21 = 57421;
pub const KpPageDown: u21 = 57422;
pub const KpHome: u21 = 57423;
pub const KpEnd: u21 = 57424;
pub const KpInsert: u21 = 57425;