Fixed main.Key.enter binding
This commit is contained in:
parent
845a3a6786
commit
1e30dd7d31
1 changed files with 1 additions and 1 deletions
|
@ -141,10 +141,10 @@ pub fn isModifier(self: Key) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
// a few special keys that we encode as their actual ascii value
|
// a few special keys that we encode as their actual ascii value
|
||||||
pub const enter: u21 = 0x0D;
|
|
||||||
pub const tab: u21 = 0x09;
|
pub const tab: u21 = 0x09;
|
||||||
pub const escape: u21 = 0x1B;
|
pub const escape: u21 = 0x1B;
|
||||||
pub const space: u21 = 0x20;
|
pub const space: u21 = 0x20;
|
||||||
|
pub const enter: u21 = 0x6D;
|
||||||
pub const backspace: u21 = 0x7F;
|
pub const backspace: u21 = 0x7F;
|
||||||
|
|
||||||
// multicodepoint is a key which generated text but cannot be expressed as a
|
// multicodepoint is a key which generated text but cannot be expressed as a
|
||||||
|
|
Loading…
Reference in a new issue