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:
Andreas Kling 2020-01-25 20:43:37 +01:00
commit edbe7d3769
Notes: sideshowbarker 2024-07-19 09:49:37 +09:00

View file

@ -194,7 +194,9 @@ void TTY::do_backspace()
{
if (can_do_backspace()) {
m_input_buffer.dequeue_end();
echo(m_termios.c_cc[VERASE]);
echo(8);
echo(' ');
echo(8);
}
}