Mercurial > vim
diff src/proto/popupmnu.pro @ 12883:058e93aee621 v8.0.1318
patch 8.0.1318: terminal balloon only shows one line
commit https://github.com/vim/vim/commit/246fe03d154c09070d5b7365b7f61716c4e0ddd4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 19 19:56:27 2017 +0100
patch 8.0.1318: terminal balloon only shows one line
Problem: Terminal balloon only shows one line.
Solution: Split into several lines in a clever way. Add balloon_split().
Make balloon_show() accept a list in the terminal.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Nov 2017 20:00:06 +0100 |
parents | ebb4f6c93598 |
children | 244ff1b6d2ad |
line wrap: on
line diff
--- a/src/proto/popupmnu.pro +++ b/src/proto/popupmnu.pro @@ -5,7 +5,8 @@ void pum_undisplay(void); void pum_clear(void); int pum_visible(void); int pum_get_height(void); +int split_message(char_u *mesg, pumitem_T **array); void ui_remove_balloon(void); -void ui_post_balloon(char_u *mesg); +void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); /* vim: set ft=c : */