Commit | Line | Data |
---|---|---|
621d5558 KA |
1 | /* |
2 | * Clean things up before exiting | |
3 | * | |
4 | * %G% (Berkeley) %W | |
5 | */ | |
6 | ||
7 | # include "curses.ext" | |
8 | ||
9 | endwin() | |
10 | { | |
11 | resetty(); | |
12 | _puts(VE); | |
13 | _puts(TE); | |
14 | if (curscr) { | |
15 | if (curscr->_flags & _STANDOUT) { | |
16 | _puts(SE); | |
17 | curscr->_flags &= ~_STANDOUT; | |
18 | } | |
19 | _endwin = TRUE; | |
20 | } | |
21 | } |