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