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 {
|
||||
if (selected)
|
||||
SetHighColor(fSelectBackColor);
|
||||
else
|
||||
SetHighColor(fCursorBackColor);
|
||||
else {
|
||||
if (cursorVisible)
|
||||
SetHighColor(fCursorBackColor);
|
||||
else
|
||||
SetHighColor(kTermColorTable[IS_BACKCOLOR(attr)]);
|
||||
}
|
||||
|
||||
FillRect(rect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user