Skip to content

Commit a3069b1

Browse files
committed
LibVT: Make backspace (BS) non-destructive
I did not realize this was a thing. This fixes an artifact in vttest.
1 parent dca92af commit a3069b1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Libraries/LibVT/Terminal.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,6 @@ void Terminal::on_char(u8 ch)
882882
case 8: // Backspace
883883
if (m_cursor_column) {
884884
set_cursor(m_cursor_row, m_cursor_column - 1);
885-
put_character_at(m_cursor_row, m_cursor_column, ' ');
886885
return;
887886
}
888887
return;

0 commit comments

Comments
 (0)