mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
Kernel: Unbreak canonical mode TTY erase after LibVT changes
Now that LibVT's backspace character (8) is non-destructive, the kernel line editing code has to take care of erasing manually.
This commit is contained in:
parent
a3069b16fd
commit
edbe7d3769
1 changed files with 3 additions and 1 deletions
|
@ -194,7 +194,9 @@ void TTY::do_backspace()
|
||||||
{
|
{
|
||||||
if (can_do_backspace()) {
|
if (can_do_backspace()) {
|
||||||
m_input_buffer.dequeue_end();
|
m_input_buffer.dequeue_end();
|
||||||
echo(m_termios.c_cc[VERASE]);
|
echo(8);
|
||||||
|
echo(' ');
|
||||||
|
echo(8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue