diff options
author | demostanis <demostanis@protonmail.com> | 2022-09-10 22:04:26 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-14 13:37:29 +0200 |
commit | 68803590643280f43532c1588bfbd4107eba3fb9 (patch) | |
tree | c6d79f1345a0a25fb27934f4604258b977d1fee7 | |
parent | 09a2db89c98d9eb7ab9d528608f9cc7929468872 (diff) | |
download | serenity-68803590643280f43532c1588bfbd4107eba3fb9.zip |
LibVT: Make Terminal::clear_in_line() keep line attributes
-rw-r--r-- | Userland/Libraries/LibVT/Terminal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp index 62bbfca311..829bd5ce48 100644 --- a/Userland/Libraries/LibVT/Terminal.cpp +++ b/Userland/Libraries/LibVT/Terminal.cpp @@ -856,7 +856,7 @@ void Terminal::put_character_at(unsigned row, unsigned column, u32 code_point) void Terminal::clear_in_line(u16 row, u16 first_column, u16 last_column) { VERIFY(row < rows()); - active_buffer()[row].clear_range(first_column, last_column); + active_buffer()[row].clear_range(first_column, last_column, m_current_state.attribute); } #endif |