LibVT: Make Terminal::clear_in_line() keep line attributes
This commit is contained in:
parent
09a2db89c9
commit
6880359064
Notes:
sideshowbarker
2024-07-17 05:49:48 +09:00
Author: https://github.com/demostanis Commit: https://github.com/SerenityOS/serenity/commit/6880359064 Pull-request: https://github.com/SerenityOS/serenity/pull/15195 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/Xexxa ✅ Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/timschumi ✅
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue