comparison src/channel.c @ 10240:175b1116f96a v8.0.0018

commit https://github.com/vim/vim/commit/b9c31e71f5a4653a27e81c21226039bfa35b9131 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 29 15:18:57 2016 +0200 patch 8.0.0018 Problem: When using ":sleep" channel input is not handled. Solution: When there is a channel check for input also when not in raw mode. Check every 100 msec.
author Christian Brabandt <cb@256bit.org>
date Thu, 29 Sep 2016 15:30:05 +0200
parents d709622a18c9
children 920c73a27dda
comparison
equal deleted inserted replaced
10239:ebbc8d21105b 10240:175b1116f96a
339 339
340 channel->ch_refcount = 1; 340 channel->ch_refcount = 1;
341 return channel; 341 return channel;
342 } 342 }
343 343
344 int
345 has_any_channel(void)
346 {
347 return first_channel != NULL;
348 }
349
344 /* 350 /*
345 * Called when the refcount of a channel is zero. 351 * Called when the refcount of a channel is zero.
346 * Return TRUE if "channel" has a callback and the associated job wasn't 352 * Return TRUE if "channel" has a callback and the associated job wasn't
347 * killed. 353 * killed.
348 */ 354 */