emul: fix backspace

it was broken in the move to ncurses.
This commit is contained in:
Virgil Dupras 2020-05-23 14:47:19 -04:00
parent 7f3e55cb51
commit c0b7b45570

View File

@ -52,6 +52,9 @@ static void iowr_stdio(uint8_t val)
} else {
if (val >= 0x20 || val == '\n') {
wechochar(w, val);
} else if (val == 0x08) {
int y, x; getyx(w, y, x);
wmove(w, y, x-1);
}
}
}