/*
* $Log$
+ * Revision 1.35 2008/02/28 16:57:51 james
+ * *** empty log message ***
+ *
+ * Revision 1.34 2008/02/27 09:42:53 james
+ * *** empty log message ***
+ *
* Revision 1.33 2008/02/27 09:42:21 james
* *** empty log message ***
*
}
static void
-ansi_resize_check (ANSI * a, CRT_Pos *size)
+ansi_resize_check (ANSI * a, CRT_Pos * size)
{
- if ((size && crt_pos_cmp(a->crt.size,*size))
+ if ((size && crt_pos_cmp (a->crt.size, *size))
|| crt_pos_cmp (a->terminal->size, a->size))
{
crt_reset (&a->crt);
if (size)
- a->crt.size =*size;
+ a->crt.size = *size;
// FIXME: -- echos back crap?
// a->terminal->xmit (a->terminal, "\033[c", 3);
{
char buf[32];
int i;
- int guess_scroll;
+ int guess_scroll;
/*Do we need to catch up on history?*/
if (a->history_ptr == h->wptr)
if ((a->size.x < a->crt.size.x) || (a->size.y < a->crt.size.y))
return;
- guess_scroll=a->crt.size.y-1; /*Bototm line should be a status line*/
+ guess_scroll = a->crt.size.y - 1; /*Bototm line should be a status line */
ansi_force_attr_normal (a);
static void
ansi_terminal_reset (ANSI * a)
{
- CRT_Pos p = { 0, a->crt.size.y};
+ CRT_Pos p = { 0, a->crt.size.y };
ansi_force_attr_normal (a);
ansi_move (a, p);
{
ansi_history (a, c->h);
ansi_draw (a, &c->v->crt);
+ tty_length(a->terminal,c->v->crt.size.y);
}
static void