From a3069b16fdcb8e81a9ca6e4cf0467e42c61dd3e5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 25 Jan 2020 20:39:23 +0100 Subject: LibVT: Make backspace (BS) non-destructive I did not realize this was a thing. This fixes an artifact in vttest. --- Libraries/LibVT/Terminal.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Libraries/LibVT') diff --git a/Libraries/LibVT/Terminal.cpp b/Libraries/LibVT/Terminal.cpp index 8926b6e85d..fbb13ac60b 100644 --- a/Libraries/LibVT/Terminal.cpp +++ b/Libraries/LibVT/Terminal.cpp @@ -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; -- cgit v1.2.3