chiark
/
gitweb
/
~mdw
/
sw-tools
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Bug fix) Include the SIGWINCH handler even if `wresize' isn't known.
[sw-tools]
/
src
/
pres_curses.c
diff --git
a/src/pres_curses.c
b/src/pres_curses.c
index f0a14d0817824a4be5930304a8779757e2bcc0ae..7ed1b7286dfebddf735e5a78ce2a0123c4821d57 100644
(file)
--- a/
src/pres_curses.c
+++ b/
src/pres_curses.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: pres_curses.c,v 1.
5 1999/07/27 12:49:16
mdw Exp $
+ * $Id: pres_curses.c,v 1.
6 1999/07/27 14:04:19
mdw Exp $
*
* Curses-based output presentation
*
*
* Curses-based output presentation
*
@@
-29,7
+29,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: pres_curses.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: pres_curses.c,v $
- * Revision 1.5 1999/07/27 12:49:16 mdw
+ * Revision 1.6 1999/07/27 14:04:19 mdw
+ * (Bug fix) Include the SIGWINCH handler even if `wresize' isn't known.
+ *
+ * Revision 1.5 1999/07/27 12:49:16 mdw
* Slight tidying of resizing terminal handling.
*
* Revision 1.4 1999/07/16 16:52:28 mdw
* Slight tidying of resizing terminal handling.
*
* Revision 1.4 1999/07/16 16:52:28 mdw
@@
-250,7
+253,7
@@
int curses_init(archcons *a)
}
doupdate();
}
doupdate();
-#ifdef
HAVE_WRESIZE
+#ifdef
SIGWINCH
signal(SIGWINCH, sig_winch);
#endif
#ifdef SIGTSTP
signal(SIGWINCH, sig_winch);
#endif
#ifdef SIGTSTP