Files
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

31 lines
549 B
C

/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)endwin.c 1.1 92/07/30 SMI"; /* from UCB 5.1 85/06/07 */
#endif not lint
/*
* Clean things up before exiting
*
*/
# include "curses.ext"
endwin()
{
resetty();
_puts(VE);
_puts(TE);
if (curscr) {
if (curscr->_flags & _STANDOUT) {
_puts(SE);
curscr->_flags &= ~_STANDOUT;
}
_endwin = TRUE;
}
}