Terminal: Fix cursor blinking.
Signed-off-by: Adrien Destugues - PulkoMandy <[email protected]>
This commit is contained in:
committed by
Adrien Destugues - PulkoMandy
parent
9e7a46be20
commit
a0e690928b
@@ -1228,8 +1228,12 @@ TermView::_DrawCursor()
|
|||||||
} else {
|
} else {
|
||||||
if (selected)
|
if (selected)
|
||||||
SetHighColor(fSelectBackColor);
|
SetHighColor(fSelectBackColor);
|
||||||
else
|
else {
|
||||||
SetHighColor(fCursorBackColor);
|
if (cursorVisible)
|
||||||
|
SetHighColor(fCursorBackColor);
|
||||||
|
else
|
||||||
|
SetHighColor(kTermColorTable[IS_BACKCOLOR(attr)]);
|
||||||
|
}
|
||||||
|
|
||||||
FillRect(rect);
|
FillRect(rect);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user