comparison src/os_unix.c @ 11014:fb2bcfa6a8de v8.0.0396

patch 8.0.0396: 'balloonexpr' only works synchronously commit https://github.com/vim/vim/commit/59716a27bd5c6c64def6c3ca430ff1246deae749 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 1 20:32:44 2017 +0100 patch 8.0.0396: 'balloonexpr' only works synchronously Problem: 'balloonexpr' only works synchronously. Solution: Add balloon_show(). (Jusufadis Bakamovic, closes https://github.com/vim/vim/issues/1449)
author Christian Brabandt <cb@256bit.org>
date Wed, 01 Mar 2017 20:45:05 +0100
parents 2198b53b9ffe
children 576238eda5a4
comparison
equal deleted inserted replaced
11013:dd6c3eab630b 11014:fb2bcfa6a8de
464 wait_time = 100L; 464 wait_time = 100L;
465 /* If there is readahead then parse_queued_messages() timed out and we 465 /* If there is readahead then parse_queued_messages() timed out and we
466 * should call it again soon. */ 466 * should call it again soon. */
467 if ((wait_time < 0 || wait_time > 100L) && channel_any_readahead()) 467 if ((wait_time < 0 || wait_time > 100L) && channel_any_readahead())
468 wait_time = 10L; 468 wait_time = 10L;
469 #endif
470 #ifdef FEAT_BEVAL
471 if (p_beval && wait_time > 100L)
472 /* The 'balloonexpr' may indirectly invoke a callback while waiting
473 * for a character, need to check often. */
474 wait_time = 100L;
469 #endif 475 #endif
470 476
471 /* 477 /*
472 * We want to be interrupted by the winch signal 478 * We want to be interrupted by the winch signal
473 * or by an event on the monitored file descriptors. 479 * or by an event on the monitored file descriptors.