source: trunk/minix/lib/curses/endwin.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 265 bytes
RevLine 
[9]1#include <curses.h>
2#include "curspriv.h"
3#include <termcap.h>
4
5int endwin()
6{
7 extern char *me;
8
9 curs_set(1);
10 poscur(LINES - 1, 0);
11 refresh();
12 tputs(me, 1, outc);
13 delwin(stdscr);
14 delwin(curscr);
15 delwin(_cursvar.tmpwin);
16 resetty();
17 return(OK);
18}
Note: See TracBrowser for help on using the repository browser.