mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 15:18:05 +11:00
emul: fix backspace
it was broken in the move to ncurses.
This commit is contained in:
parent
7f3e55cb51
commit
c0b7b45570
@ -52,6 +52,9 @@ static void iowr_stdio(uint8_t val)
|
|||||||
} else {
|
} else {
|
||||||
if (val >= 0x20 || val == '\n') {
|
if (val >= 0x20 || val == '\n') {
|
||||||
wechochar(w, val);
|
wechochar(w, val);
|
||||||
|
} else if (val == 0x08) {
|
||||||
|
int y, x; getyx(w, y, x);
|
||||||
|
wmove(w, y, x-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user