Small cleanup to generated output when predictions active
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user