fixed backspace on OS X (and possibly other UNIX)
This commit is contained in:
parent
3429c54af8
commit
91d99e6859
|
@ -66,7 +66,7 @@ bool input_keyboard_line_event(input_keyboard_line_t *state, uint32_t character,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c == '\b')
|
if (c == '\b' || c == '\x7f') /* 0x7f is ASCII for del */
|
||||||
{
|
{
|
||||||
if (state->ptr)
|
if (state->ptr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue