Small cleanup to generated output when predictions active

This commit is contained in:
Keith Winstein
2012-03-10 06:42:21 -05:00
parent 122d9fbccf
commit bc3297aa75
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -51,9 +51,11 @@ void ConditionalOverlayCell::apply( Framebuffer &fb, uint64_t confirmed_epoch, i
}
if ( !(*(fb.get_cell( row, col )) == replacement) ) {
/*
if ( replacement.is_blank() && fb.get_cell( row, col )->is_blank() ) {
return;
}
*/
*(fb.get_mutable_cell( row, col )) = replacement;
if ( flag ) {
+1 -2
View File
@@ -242,8 +242,7 @@ void Display::put_cell( bool initialized, FrameState &frame, const Framebuffer &
/* can we go to the end of the line? */
if ( frame.x + clear_count == f.ds.get_width() ) {
snprintf( tmp, 64, "\033[K" );
frame.append( tmp );
frame.append( "\033[K" );
frame.x += clear_count;
} else {
if ( has_ech ) {