1
0
forked from aniani/vim

updated for version 7.3.337

Problem:    Screen doesn't update after resizing the xterm until a character
            is typed.
Solution:   When the select call is interrupted check do_resize. (Taylor
            Hedberg)
This commit is contained in:
Bram Moolenaar 2011-10-12 21:04:20 +02:00
parent e06461a821
commit 2e7b1df8fa
2 changed files with 9 additions and 0 deletions

View File

@ -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)

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
337,
/**/
336,
/**/