aboutsummaryrefslogtreecommitdiffstats
path: root/src/crt.c
diff options
context:
space:
mode:
authorjames <>2008-02-26 23:23:17 +0000
committerjames <>2008-02-26 23:23:17 +0000
commitf2b8bf1dc0714a6aacb11ec9634e856a8f4cab03 (patch)
treebe3b4f30343a87fefbfdb6e7d433a97a7cea75ac /src/crt.c
parent3aef93277df7fe073486ec406a5fe55d3a45e504 (diff)
downloadsympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.tar.gz
sympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.tar.bz2
sympathy-f2b8bf1dc0714a6aacb11ec9634e856a8f4cab03.zip
*** empty log message ***
Diffstat (limited to 'src/crt.c')
-rw-r--r--src/crt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/crt.c b/src/crt.c
index 87b814d..693e003 100644
--- a/src/crt.c
+++ b/src/crt.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.12 2008/02/26 23:23:17 james
+ * *** empty log message ***
+ *
* Revision 1.11 2008/02/23 11:48:37 james
* *** empty log message ***
*
@@ -74,7 +77,9 @@ crt_cls (CRT * c)
int i;
crt_erase (c, s, e, 1, CRT_COLOR_NORMAL);
+#if 0
c->sh.dir = 0;
+#endif
}
void
@@ -87,9 +92,11 @@ crt_scroll_up (CRT * c, CRT_Pos s, CRT_Pos e, int ea, int color)
s.x = 0;
e.x = CRT_COLS - 1;
+#if 0
c->sh.s = s;
c->sh.e = e;
c->sh.dir = -1;
+#endif
l = e.x - s.x;
l++;
@@ -120,9 +127,11 @@ crt_scroll_down (CRT * c, CRT_Pos s, CRT_Pos e, int ea, int color)
s.x = 0;
e.x = CRT_COLS - 1;
+#if 0
c->sh.s = s;
c->sh.e = e;
c->sh.dir = 1;
+#endif
l = e.x - s.x;
l++;
@@ -152,7 +161,10 @@ crt_reset (CRT * c)
c->pos.x = 0;
c->pos.y = 0;
c->hide_cursor = 1;
+ c->width=CRT_COLS;
+#if 0
c->sh.dir = 0;
+#endif
}
void
@@ -169,5 +181,7 @@ crt_insert (CRT * c, CRT_CA ca)
c->screen[CRT_ADDR (c->pos.y, c->pos.x)] = ca;
+#if 0
c->sh.dir = 0;
+#endif
}