fix parse_keys for <esc>
This commit is contained in:
parent
00e357ed56
commit
45bffd8b8a
|
@ -19,7 +19,7 @@ Key canonicalize_ifn(Key key)
|
||||||
static std::unordered_map<String, Character> keynamemap = {
|
static std::unordered_map<String, Character> keynamemap = {
|
||||||
{ "ret", '\r' },
|
{ "ret", '\r' },
|
||||||
{ "space", ' ' },
|
{ "space", ' ' },
|
||||||
{ "esc", 27 }
|
{ "esc", Key::Escape }
|
||||||
};
|
};
|
||||||
|
|
||||||
KeyList parse_keys(const String& str)
|
KeyList parse_keys(const String& str)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user