aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
authorjames <>2008-02-22 17:07:00 +0000
committerjames <>2008-02-22 17:07:00 +0000
commita7a1526ef4fed8460a87713fac159cc714bfde77 (patch)
treee198c9785f1d883a5a1804204bd7d8ac834f499f /src/ansi.c
parent980bd369ac8759c8a1df6fea7cbb5bfc8fee7afc (diff)
downloadsympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.tar.gz
sympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.tar.bz2
sympathy-a7a1526ef4fed8460a87713fac159cc714bfde77.zip
*** empty log message ***
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ansi.c b/src/ansi.c
index d2efc46..66c70f1 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.28 2008/02/22 17:07:00 james
+ * *** empty log message ***
+ *
* Revision 1.27 2008/02/20 22:54:22 staffcvs
* *** empty log message ***
*
@@ -528,6 +531,9 @@ ansi_history (ANSI * a, History * h)
/*Roll HISTORY_GUESS_SCROLL lines up putting the top line into the xterm's history */
+ /*Make extra lines a predictable colour*/
+ ansi_set_color (a, CRT_COLOR_NORMAL);
+
ansi_showhide_cursor (a, 1);
i = sprintf (buf, "\033[%d;%dH", HISTORY_GUESS_SCROLL, 1);
a->terminal->xmit (a->terminal, buf, i);
@@ -553,7 +559,7 @@ ansi_history (ANSI * a, History * h)
/* erase new line */
s.y = e.y;
e.x = CRT_COLS - 1;
- crt_erase (&a->crt, s, e, 1);
+ crt_erase (&a->crt, s, e, 1,CRT_COLOR_NORMAL);
}
}