diff options
author | Andreas Kling <kling@serenityos.org> | 2020-01-25 20:39:23 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-25 20:39:23 +0100 |
commit | a3069b16fdcb8e81a9ca6e4cf0467e42c61dd3e5 (patch) | |
tree | f27d1d4e776c0fe2f1fcd7e6691ee5775c67fe95 /Libraries/LibVT | |
parent | dca92af43128d110266ed87b0c2c97f378806eac (diff) | |
download | serenity-a3069b16fdcb8e81a9ca6e4cf0467e42c61dd3e5.zip |
LibVT: Make backspace (BS) non-destructive
I did not realize this was a thing. This fixes an artifact in vttest.
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/Terminal.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; |