Fix empty background coloring right/below of text lines
This commit is contained in:
@@ -1224,11 +1224,14 @@ TermView::Draw(BRect updateRect)
|
|||||||
SetHighColor(fSelectBackColor);
|
SetHighColor(fSelectBackColor);
|
||||||
FillRect(rect);
|
FillRect(rect);
|
||||||
} else {
|
} else {
|
||||||
|
rgb_color rgb_back = fTextBackColor;
|
||||||
|
|
||||||
int lineIndexInHistory = j + fTextBuffer->HistorySize();
|
int lineIndexInHistory = j + fTextBuffer->HistorySize();
|
||||||
uint32 backcolor = IS_BACKCOLOR(fVisibleTextBuffer->GetLineColor(
|
uint32 attr = fVisibleTextBuffer->GetLineColor(
|
||||||
lineIndexInHistory));
|
lineIndexInHistory);
|
||||||
rgb_color rgb_back = fTermColorTable[backcolor];
|
|
||||||
// /* rgb_color*/ rgb_back = fTextBackColor;
|
if (IS_BACKSET(attr))
|
||||||
|
rgb_back = fTermColorTable[IS_BACKCOLOR(attr)];
|
||||||
SetHighColor(rgb_back);
|
SetHighColor(rgb_back);
|
||||||
FillRect(rect);
|
FillRect(rect);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user