Model renditions explicitly -- 25% speedup
This commit is contained in:
@@ -322,11 +322,7 @@ void CSI_SGR( Framebuffer *fb, Dispatcher *dispatch )
|
||||
bce = true;
|
||||
}
|
||||
|
||||
if ( rendition == 0 ) {
|
||||
fb->ds.clear_renditions();
|
||||
} else {
|
||||
fb->ds.add_rendition( rendition );
|
||||
}
|
||||
fb->ds.add_rendition( rendition );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user