OSX: Fixed Key::Return.

This commit is contained in:
Branimir Karadžić
2017-11-16 17:51:34 -08:00
parent d27b469f7c
commit 899f72ae29

View File

@@ -103,7 +103,7 @@ namespace entry
, m_fullscreen(false)
{
s_translateKey[27] = Key::Esc;
s_translateKey[uint8_t('\n')] = Key::Return;
s_translateKey[uint8_t('\r')] = Key::Return;
s_translateKey[uint8_t('\t')] = Key::Tab;
s_translateKey[127] = Key::Backspace;
s_translateKey[uint8_t(' ')] = Key::Space;