Mercurial > vim
comparison src/proto/channel.pro @ 12250:ac8b2f9c1409 v8.0.1005
patch 8.0.1005: terminal without job updates slowly in GUI
commit https://github.com/vim/vim/commit/4ab7968aa9d8a624cd56f55b5cad2bedb240eb73
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 27 14:50:47 2017 +0200
patch 8.0.1005: terminal without job updates slowly in GUI
Problem: Terminal without job updates slowly in GUI.
Solution: Poll for input when a channel has the keep_open flag.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 27 Aug 2017 15:00:04 +0200 |
parents | 24abce52ad20 |
children | f28067b83dec |
comparison
equal
deleted
inserted
replaced
12249:6669330ba85d | 12250:ac8b2f9c1409 |
---|---|
33 void channel_free_all(void); | 33 void channel_free_all(void); |
34 char_u *channel_read_block(channel_T *channel, ch_part_T part, int timeout); | 34 char_u *channel_read_block(channel_T *channel, ch_part_T part, int timeout); |
35 void common_channel_read(typval_T *argvars, typval_T *rettv, int raw); | 35 void common_channel_read(typval_T *argvars, typval_T *rettv, int raw); |
36 channel_T *channel_fd2channel(sock_T fd, ch_part_T *partp); | 36 channel_T *channel_fd2channel(sock_T fd, ch_part_T *partp); |
37 void channel_handle_events(int only_keep_open); | 37 void channel_handle_events(int only_keep_open); |
38 int channel_any_keep_open(void); | |
38 void channel_set_nonblock(channel_T *channel, ch_part_T part); | 39 void channel_set_nonblock(channel_T *channel, ch_part_T part); |
39 int channel_send(channel_T *channel, ch_part_T part, char_u *buf_arg, int len_arg, char *fun); | 40 int channel_send(channel_T *channel, ch_part_T part, char_u *buf_arg, int len_arg, char *fun); |
40 void ch_expr_common(typval_T *argvars, typval_T *rettv, int eval); | 41 void ch_expr_common(typval_T *argvars, typval_T *rettv, int eval); |
41 void ch_raw_common(typval_T *argvars, typval_T *rettv, int eval); | 42 void ch_raw_common(typval_T *argvars, typval_T *rettv, int eval); |
42 int channel_poll_setup(int nfd_in, void *fds_in); | 43 int channel_poll_setup(int nfd_in, void *fds_in); |