typos in key.zig

This commit is contained in:
Peter Cock
2025-01-03 18:42:17 +00:00
committed by GitHub
parent 7eb35d7275
commit 7cf3287de3

View File

@ -295,7 +295,7 @@ pub const Key = enum(c_int) {
eight, eight,
nine, nine,
// puncuation // punctuation
semicolon, semicolon,
space, space,
apostrophe, apostrophe,
@ -411,7 +411,7 @@ pub const Key = enum(c_int) {
/// may be from the number row or the keypad, but it always maps /// may be from the number row or the keypad, but it always maps
/// to '.zero'. /// to '.zero'.
/// ///
/// This is what we want, we awnt people to create keybindings that /// This is what we want, we want people to create keybindings that
/// are independent of the physical key. /// are independent of the physical key.
pub fn fromASCII(ch: u8) ?Key { pub fn fromASCII(ch: u8) ?Key {
return switch (ch) { return switch (ch) {