summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/lib_getch.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-12-06 19:11:03 +0000
committermillert <millert@openbsd.org>1997-12-06 19:11:03 +0000
commit3d274ff7384592eb6c4928024e4767311127eae3 (patch)
tree9c79b8c07adbbb6a4b5581768a85991a175e008c /lib/libcurses/lib_getch.c
parentcuaaX => cua0X: This is OpenBSD ! (diff)
downloadwireguard-openbsd-3d274ff7384592eb6c4928024e4767311127eae3.tar.xz
wireguard-openbsd-3d274ff7384592eb6c4928024e4767311127eae3.zip
#ifdef out call to _nc_update_screensize
Diffstat (limited to 'lib/libcurses/lib_getch.c')
-rw-r--r--lib/libcurses/lib_getch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcurses/lib_getch.c b/lib/libcurses/lib_getch.c
index c3e936cd302..94513092d1a 100644
--- a/lib/libcurses/lib_getch.c
+++ b/lib/libcurses/lib_getch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_getch.c,v 1.3 1997/12/03 05:21:18 millert Exp $ */
+/* $OpenBSD: lib_getch.c,v 1.4 1997/12/06 19:11:04 millert Exp $ */
/***************************************************************************
@@ -243,7 +243,9 @@ int ch;
{
if(SP->_sig_winch)
{
+#ifndef EXTERN_TERMINFO
_nc_update_screensize();
+#endif
/* resizeterm can push KEY_RESIZE */
if(cooked_key_in_fifo())
{