LibVT: Make Terminal::clear_in_line() keep line attributes

This commit is contained in:
demostanis 2022-09-10 22:04:26 +02:00 committed by Linus Groh
parent 09a2db89c9
commit 6880359064

View file

@ -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