summaryrefslogtreecommitdiff
path: root/src/proto/popupmnu.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-19 19:56:27 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-19 19:56:27 +0100
commit246fe03d154c09070d5b7365b7f61716c4e0ddd4 (patch)
tree1d0ad5929d17f1af24ac22817bd9fe6c0d5d84f2 /src/proto/popupmnu.pro
parente518226713784e628ae7ee077f1b66cb12b9ffd9 (diff)
downloadvim-git-246fe03d154c09070d5b7365b7f61716c4e0ddd4.tar.gz
patch 8.0.1318: terminal balloon only shows one linev8.0.1318
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.
Diffstat (limited to 'src/proto/popupmnu.pro')
-rw-r--r--src/proto/popupmnu.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/popupmnu.pro b/src/proto/popupmnu.pro
index 57795338b..272730433 100644
--- 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 : */