From 68803590643280f43532c1588bfbd4107eba3fb9 Mon Sep 17 00:00:00 2001 From: demostanis Date: Sat, 10 Sep 2022 22:04:26 +0200 Subject: [PATCH] LibVT: Make Terminal::clear_in_line() keep line attributes --- Userland/Libraries/LibVT/Terminal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp index 62bbfca3110..829bd5ce48e 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