projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c7aa105
)
BSD 4 development
author
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Wed, 5 Nov 1980 09:27:31 +0000
(
01:27
-0800)
committer
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Wed, 5 Nov 1980 09:27:31 +0000
(
01:27
-0800)
Work on file usr/src/lib/libcurses/endwin.c
Synthesized-from: CSRG//cd1/4.0
usr/src/lib/libcurses/endwin.c
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/src/lib/libcurses/endwin.c
b/usr/src/lib/libcurses/endwin.c
new file mode 100644
(file)
index 0000000..
f53a773
--- /dev/null
+++ b/
usr/src/lib/libcurses/endwin.c
@@ -0,0
+1,13
@@
+# include "curses.ext"
+
+endwin()
+{
+ resetty();
+ _puts(VE);
+ _puts(TE);
+ if (curscr->_flags & _STANDOUT) {
+ _puts(SE);
+ curscr->_flags &= ~_STANDOUT;
+ }
+ _endwin = TRUE;
+}