Also invalidate the cursor position when it remains the same, but the
screen was scrolled. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25981 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
00b997a8f8
commit
0dd40534eb
@ -1731,7 +1731,7 @@ TermView::_SynchronizeWithTextBuffer(int32 visibleDirtyTop,
|
||||
|
||||
// invalidate cursor, if it changed
|
||||
TermPos cursor = fTextBuffer->Cursor();
|
||||
if (fCursor != cursor) {
|
||||
if (fCursor != cursor || linesScrolled != 0) {
|
||||
// Before we scrolled we did already invalidate the old cursor.
|
||||
if (!doScroll)
|
||||
_InvalidateTextRect(fCursor.x, fCursor.y, fCursor.x, fCursor.y);
|
||||
|
Loading…
Reference in New Issue
Block a user