diff options
-rw-r--r-- | src/os_unix.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 018c49f9..48176e18 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5146,11 +5146,18 @@ select_eintr: # endif # ifdef EINTR if (ret == -1 && errno == EINTR) + { + /* Check whether window has been resized, EINTR may be caused by + * SIGWINCH. */ + if (do_resize) + handle_resize(); + /* Interrupted by a signal, need to try again. We ignore msec * here, because we do want to check even after a timeout if * characters are available. Needed for reading output of an * external command after the process has finished. */ goto select_eintr; + } # endif # ifdef __TANDEM if (ret == -1 && errno == ENOTSUP) diff --git a/src/version.c b/src/version.c index 48d2d396..a77a78d8 100644 --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 337, +/**/ 336, /**/ 335, |