From 26cd121a751c6037e9256c50927c22176ae50571 Mon Sep 17 00:00:00 2001 From: 00JCIV00 Date: Tue, 27 Feb 2024 10:17:42 -0500 Subject: [PATCH] Reset the 'enter' binding to 0x0D after upstream fix --- src/Key.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Key.zig b/src/Key.zig index ec04519..dec2879 100644 --- a/src/Key.zig +++ b/src/Key.zig @@ -144,9 +144,9 @@ pub fn isModifier(self: Key) bool { // a few special keys that we encode as their actual ascii value pub const tab: u21 = 0x09; +pub const enter: u21 = 0x0D; 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