mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
LibVT: Make backspace (BS) non-destructive
I did not realize this was a thing. This fixes an artifact in vttest.
This commit is contained in:
parent
dca92af431
commit
a3069b16fd
Notes:
sideshowbarker
2024-07-19 09:49:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a3069b16fdc
1 changed files with 0 additions and 1 deletions
|
@ -882,7 +882,6 @@ void Terminal::on_char(u8 ch)
|
|||
case 8: // Backspace
|
||||
if (m_cursor_column) {
|
||||
set_cursor(m_cursor_row, m_cursor_column - 1);
|
||||
put_character_at(m_cursor_row, m_cursor_column, ' ');
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue