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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user