0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1421: drawing "~" line in popup window

Problem:    Drawing "~" line in popup window.
Solution:   Just draw text in the last line of the popup window.
This commit is contained in:
Bram Moolenaar
2019-05-30 00:12:11 +02:00
parent 88c4e1f069
commit 1714696600
8 changed files with 47 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ add_popup_dicts(buf_T *buf, list_T *l)
/*
* Adjust the position and size of the popup to fit on the screen.
*/
static void
void
popup_adjust_position(win_T *wp)
{
linenr_T lnum;
@@ -209,6 +209,8 @@ popup_adjust_position(win_T *wp)
wp->w_height = wp->w_maxheight;
if (wp->w_height > Rows - wp->w_winrow)
wp->w_height = Rows - wp->w_winrow;
wp->w_popup_last_changedtick = CHANGEDTICK(wp->w_buffer);
}
/*