Invalidate cursor location (but don't actually move cursor) after scroll reset

This commit is contained in:
Keith Winstein
2012-03-18 16:26:16 -04:00
parent 231c181101
commit e4780c5d05
+2 -2
View File
@@ -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;
} }
} }
} }