add extended ascii

This commit is contained in:
2019-09-19 11:51:49 +02:00
parent 4d788bb174
commit 77a3bdde03
4 changed files with 20 additions and 13 deletions

View File

@@ -110,7 +110,7 @@ kEventResult NodeTextInput::handle_event(Event* e)
on_return(this);
}
}
else if (ke->m_char >= 32 && ke->m_char < 127) // visible ascii character
else if ((uint8_t)ke->m_char >= 32 && (uint8_t)ke->m_char < 256) // visible ascii character
{
m_text += (char)ke->m_char;
set_text(m_text);