Add verbose, and fix cursor movement problem

This commit is contained in:
Keith Winstein
2011-08-14 00:09:52 -04:00
parent 90687448e0
commit cc07d4cf17
5 changed files with 21 additions and 6 deletions
+3 -1
View File
@@ -155,7 +155,9 @@ namespace Terminal {
bool operator==( const DrawState &x ) const
{
/* XXX other fields not necessary to compare -- for now */
return ( width == x.width ) && ( height == x.height ) && ( renditions == x.renditions );
return ( width == x.width ) && ( height == x.height ) && ( cursor_col == x.cursor_col )
&& ( cursor_row == x.cursor_row ) && ( cursor_visible == x.cursor_visible ) &&
( reverse_video == x.reverse_video ) && ( renditions == x.renditions );
}
};