Fixed main.Key.enter binding

This commit is contained in:
00JCIV00 2024-02-23 21:12:32 -05:00 committed by Tim Culverhouse
parent 845a3a6786
commit 1e30dd7d31

View file

@ -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