fix parse_keys for <esc>

This commit is contained in:
Maxime Coste 2012-09-17 13:46:34 +02:00
parent 00e357ed56
commit 45bffd8b8a

View File

@ -19,7 +19,7 @@ Key canonicalize_ifn(Key key)
static std::unordered_map<String, Character> keynamemap = {
{ "ret", '\r' },
{ "space", ' ' },
{ "esc", 27 }
{ "esc", Key::Escape }
};
KeyList parse_keys(const String& str)