mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0108
This commit is contained in:
6
src/ui.c
6
src/ui.c
@@ -184,10 +184,12 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt)
|
||||
# endif
|
||||
{
|
||||
if (wtime == -1 || wtime > 100L)
|
||||
(void)handle_signal(SIGNAL_UNBLOCK); /* allow signals to kill us */
|
||||
/* allow signals to kill us */
|
||||
(void)vim_handle_signal(SIGNAL_UNBLOCK);
|
||||
retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt);
|
||||
if (wtime == -1 || wtime > 100L)
|
||||
(void)handle_signal(SIGNAL_BLOCK); /* block SIGHUP et al. */
|
||||
/* block SIGHUP et al. */
|
||||
(void)vim_handle_signal(SIGNAL_BLOCK);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user