Mercurial > vim
comparison src/proto/channel.pro @ 8422:5d2c84be23b5 v7.4.1502
commit https://github.com/vim/vim/commit/99ef06296f3c37490511c03786a2c8672e015c56
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 6 20:22:25 2016 +0100
patch 7.4.1502
Problem: Writing last-but-one line of buffer to a channel isn't implemented
yet.
Solution: Implement it. Fix leaving a swap file behind.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 06 Mar 2016 20:30:04 +0100 |
parents | 3b9a306724ec |
children | daebcbd87bd3 |
comparison
equal
deleted
inserted
replaced
8421:4be5f7dd51dc | 8422:5d2c84be23b5 |
---|---|
12 void channel_set_pipes(channel_T *channel, sock_T in, sock_T out, sock_T err); | 12 void channel_set_pipes(channel_T *channel, sock_T in, sock_T out, sock_T err); |
13 void channel_set_job(channel_T *channel, job_T *job, jobopt_T *options); | 13 void channel_set_job(channel_T *channel, job_T *job, jobopt_T *options); |
14 void channel_set_options(channel_T *channel, jobopt_T *opt); | 14 void channel_set_options(channel_T *channel, jobopt_T *opt); |
15 void channel_set_req_callback(channel_T *channel, int part, char_u *callback, int id); | 15 void channel_set_req_callback(channel_T *channel, int part, char_u *callback, int id); |
16 void channel_write_in(channel_T *channel); | 16 void channel_write_in(channel_T *channel); |
17 void channel_write_new_lines(buf_T *buf); | |
17 char_u *channel_get(channel_T *channel, int part); | 18 char_u *channel_get(channel_T *channel, int part); |
18 int channel_collapse(channel_T *channel, int part); | 19 int channel_collapse(channel_T *channel, int part); |
19 int channel_can_write_to(channel_T *channel); | 20 int channel_can_write_to(channel_T *channel); |
20 int channel_is_open(channel_T *channel); | 21 int channel_is_open(channel_T *channel); |
21 char *channel_status(channel_T *channel); | 22 char *channel_status(channel_T *channel); |