Implement back color erase

This commit is contained in:
Keith Winstein
2011-02-04 18:32:43 -05:00
parent 2f7474481f
commit c91de0b24d
4 changed files with 43 additions and 1 deletions
+2
View File
@@ -312,6 +312,8 @@ static Function func_Ctrl_BEL( CONTROL, "\x07", Ctrl_BEL );
/* select graphics rendition -- e.g., bold, blinking, etc. */
void CSI_SGR( Framebuffer *fb, Dispatcher *dispatch )
{
fb->back_color_erase();
for ( int i = 0; i < dispatch->param_count(); i++ ) {
int rendition = dispatch->getparam( i, 0 );
if ( rendition == 0 ) {