From 1e30dd7d316877d31106f962dd2c649356718497 Mon Sep 17 00:00:00 2001 From: 00JCIV00 Date: Fri, 23 Feb 2024 21:12:32 -0500 Subject: [PATCH] Fixed main.Key.enter binding --- src/Key.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Key.zig b/src/Key.zig index 8d8f6f6..bd6e586 100644 --- a/src/Key.zig +++ b/src/Key.zig @@ -141,10 +141,10 @@ pub fn isModifier(self: Key) bool { } // a few special keys that we encode as their actual ascii value -pub const enter: u21 = 0x0D; pub const tab: u21 = 0x09; pub const escape: u21 = 0x1B; pub const space: u21 = 0x20; +pub const enter: u21 = 0x6D; pub const backspace: u21 = 0x7F; // multicodepoint is a key which generated text but cannot be expressed as a