Mercurial > vim
diff src/proto/channel.pro @ 10426:acfc83aca8ee v8.0.0107
commit https://github.com/vim/vim/commit/958dc6923d341390531888058495569d73c356c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 1 15:34:12 2016 +0100
patch 8.0.0107
Problem: When reading channel output in a timer, messages may go missing.
(Skywind)
Solution: Add the "drop" option. Write error messages in the channel log.
Don't have ch_canread() check for the channel being open.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 01 Dec 2016 15:45:04 +0100 |
parents | e664ee056a84 |
children | 3b2afa2b77b3 |
line wrap: on
line diff
--- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -33,7 +33,6 @@ void channel_close_in(channel_T *channel void channel_clear(channel_T *channel); void channel_free_all(void); char_u *channel_read_block(channel_T *channel, ch_part_T part, int timeout); -int channel_read_json_block(channel_T *channel, ch_part_T part, int timeout_arg, int id, typval_T **rettv); void common_channel_read(typval_T *argvars, typval_T *rettv, int raw); channel_T *channel_fd2channel(sock_T fd, ch_part_T *partp); void channel_handle_events(void);