xref: /csrg-svn/lib/libplot/aed/erase.c (revision 15518)
1*15518Sralph #ifndef lint
2*15518Sralph static char sccsid[] = "@(#)erase.c	4.1 (Berkeley) 11/11/83";
3*15518Sralph #endif
4*15518Sralph 
5*15518Sralph #include "aed.h"
6*15518Sralph 
7*15518Sralph /*---------------------------------------------------------
8*15518Sralph  *	This routine erases the screen.
9*15518Sralph  *
10*15518Sralph  *	Results:	None.
11*15518Sralph  *	Side Effects:	The screen is cleared.
12*15518Sralph  *---------------------------------------------------------
13*15518Sralph  */
14*15518Sralph erase()
15*15518Sralph {
16*15518Sralph     setcolor("FF");
17*15518Sralph     putc('\14', stdout);
18*15518Sralph     putc('\33', stdout);
19*15518Sralph     putc('Q', stdout);
20*15518Sralph     outxy20(curx, cury);
21*15518Sralph     (void) fflush(stdout);
22*15518Sralph }
23