xref: /csrg-svn/lib/libplot/aed/erase.c (revision 61327)
148502Sbostic /*-
2*61327Sbostic  * Copyright (c) 1983, 1993
3*61327Sbostic  *	The Regents of the University of California.  All rights reserved.
448502Sbostic  *
548502Sbostic  * %sccs.include.proprietary.c%
648502Sbostic  */
748502Sbostic 
815518Sralph #ifndef lint
9*61327Sbostic static char sccsid[] = "@(#)erase.c	8.1 (Berkeley) 06/04/93";
1048502Sbostic #endif /* not lint */
1115518Sralph 
1215518Sralph #include "aed.h"
1315518Sralph 
1415518Sralph /*---------------------------------------------------------
1515518Sralph  *	This routine erases the screen.
1615518Sralph  *
1715518Sralph  *	Results:	None.
1815518Sralph  *	Side Effects:	The screen is cleared.
1915518Sralph  *---------------------------------------------------------
2015518Sralph  */
erase()2115518Sralph erase()
2215518Sralph {
2315518Sralph     setcolor("FF");
2415518Sralph     putc('\14', stdout);
2515518Sralph     putc('\33', stdout);
2615518Sralph     putc('Q', stdout);
2715518Sralph     outxy20(curx, cury);
2815518Sralph     (void) fflush(stdout);
2915518Sralph }
30