From 44d6733d3ebaa3b9377edb3de6db6cf8dc8fbb65 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 6 Jul 2009 11:09:12 +0000 Subject: [PATCH] 2009-07-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * reset default color index on exit --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/gttrm/gttrm.c | 1 + 2 files changed, 5 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e3229d4402..9ef043ac90 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/gttrm/gttrm.c + * reset default color index on exit + 2009-07-06 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/task.c * removed unused debug code diff --git a/harbour/source/rtl/gttrm/gttrm.c b/harbour/source/rtl/gttrm/gttrm.c index 3d66fd712e..54bf5eb12e 100644 --- a/harbour/source/rtl/gttrm/gttrm.c +++ b/harbour/source/rtl/gttrm/gttrm.c @@ -2077,6 +2077,7 @@ static void hb_gt_trm_AnsiExit( PHB_GTTRM pTerm ) pTerm->SetAttributes( pTerm, 0x07 & pTerm->iAttrMask ); pTerm->SetCursorStyle( pTerm, SC_NORMAL ); pTerm->SetTermMode( pTerm, 1 ); + hb_gt_trm_termOut( pTerm, "\x1B[m", 3 ); } /* ************************************************************************* */