1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

LibVT: Keep track of the 'true' line endings

This commit is contained in:
Ali Mohammad Pur 2021-06-19 18:17:18 +04:30 committed by Andreas Kling
parent c38fafbf4e
commit 424965954f
4 changed files with 35 additions and 0 deletions

View file

@ -339,6 +339,11 @@ void TerminalWidget::paint_event(GUI::PaintEvent& event)
if ((!visual_beep_active && !has_only_one_background_color) || should_reverse_fill_for_cursor_or_selection)
painter.clear_rect(cell_rect, terminal_color_to_rgb(should_reverse_fill_for_cursor_or_selection ? attribute.effective_foreground_color() : attribute.effective_background_color()));
if constexpr (TERMINAL_DEBUG) {
if (line.termination_column() == column)
painter.clear_rect(cell_rect, Gfx::Color::Magenta);
}
enum class UnderlineStyle {
None,
Dotted,