Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -14,6 +14,7 @@ void channel_set_job(channel_T *channel, void channel_set_options(channel_T *channel, jobopt_T *opt); void channel_set_req_callback(channel_T *channel, int part, char_u *callback, int id); void channel_write_in(channel_T *channel); +void channel_write_new_lines(buf_T *buf); char_u *channel_get(channel_T *channel, int part); int channel_collapse(channel_T *channel, int part); int channel_can_write_to(channel_T *channel);