Invalidate cursor location (but don't actually move cursor) after scroll reset
This commit is contained in:
@@ -155,8 +155,8 @@ std::string Display::new_frame( bool initialized, const Framebuffer &last, const
|
|||||||
1, f.ds.get_height() );
|
1, f.ds.get_height() );
|
||||||
frame.append( tmp );
|
frame.append( tmp );
|
||||||
|
|
||||||
/* make sure we know cursor position after scrolling region reset */
|
/* invalidate cursor position after unsetting scrolling region */
|
||||||
frame.append_silent_move( 0, 0 );
|
frame.cursor_x = frame.cursor_y = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user