Merge pull request #684 from orikad/master

fixed backspace on OS X (and possibly other UNIX)
This commit is contained in:
Twinaphex 2014-05-12 23:25:04 +02:00
commit d236552aeb
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ bool input_keyboard_line_event(input_keyboard_line_t *state, uint32_t character)
return true;
}
if (c == '\b')
if (c == '\b' || c == '\x7f') /* 0x7f is ASCII for del */
{
if (state->ptr)
{