source:
trunk/minix/lib/curses/endwin.c@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 265 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include <curses.h> |
2 | #include "curspriv.h" | |
3 | #include <termcap.h> | |
4 | ||
5 | int 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.