diff options
author | 1998-09-17 04:14:29 +0000 | |
---|---|---|
committer | 1998-09-17 04:14:29 +0000 | |
commit | 83791aa2917bda960c8f65cc9a2a6ebda8716b91 (patch) | |
tree | ec34dae53d55e77d8b3d0a1b05e044413a89eef5 /lib/libcurses/lib_endwin.c | |
parent | 2.4 (diff) | |
download | wireguard-openbsd-83791aa2917bda960c8f65cc9a2a6ebda8716b91.tar.xz wireguard-openbsd-83791aa2917bda960c8f65cc9a2a6ebda8716b91.zip |
ncurses-4.2-980912
Diffstat (limited to 'lib/libcurses/lib_endwin.c')
-rw-r--r-- | lib/libcurses/lib_endwin.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libcurses/lib_endwin.c b/lib/libcurses/lib_endwin.c index d8a15194c0a..e6b9eb5a29b 100644 --- a/lib/libcurses/lib_endwin.c +++ b/lib/libcurses/lib_endwin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_endwin.c,v 1.5 1998/07/23 21:18:43 millert Exp $ */ +/* $OpenBSD: lib_endwin.c,v 1.6 1998/09/17 04:14:30 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -44,7 +44,7 @@ #include <curses.priv.h> #include <term.h> -MODULE_ID("$From: lib_endwin.c,v 1.14 1998/02/11 12:13:54 tom Exp $") +MODULE_ID("$From: lib_endwin.c,v 1.15 1998/09/12 22:50:25 tom Exp $") int endwin(void) @@ -52,10 +52,11 @@ endwin(void) T((T_CALLED("endwin()"))); if (SP) { - SP->_endwin = TRUE; - SP->_mouse_wrap(SP); - _nc_screen_wrap(); - _nc_mvcur_wrap(); /* wrap up cursor addressing */ + SP->_endwin = TRUE; + SP->_mouse_wrap(SP); + _nc_screen_wrap(); + _nc_mvcur_wrap(); /* wrap up cursor addressing */ + NC_BUFFERED(FALSE); } returnCode(reset_shell_mode()); |