diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3116ca67a9..9e4fd6fcec 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-07-28 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/gttrm/gttrm.c + ! set default color before raw scrolling in console emulation + mode + 2008-07-28 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c + use utime() to set file date and time in all dos builds diff --git a/harbour/source/rtl/gttrm/gttrm.c b/harbour/source/rtl/gttrm/gttrm.c index 4fb8499c67..19e588874c 100644 --- a/harbour/source/rtl/gttrm/gttrm.c +++ b/harbour/source/rtl/gttrm/gttrm.c @@ -3172,6 +3172,9 @@ static void hb_gt_trm_Scroll( PHB_GT pGT, int iTop, int iLeft, int iBottom, int { /* scroll up the internal screen buffer */ HB_GTSELF_SCROLLUP( pGT, iRows, bColor, bChar ); + /* set default color for terminals which use it to erase + * scrolled area */ + pTerm->SetAttributes( pTerm, bColor & pTerm->iAttrMask ); /* update our internal row position */ do hb_gt_trm_termOut( pTerm, ( BYTE * ) "\n\r", 2 );