0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.1177: in a terminal window the popup menu is not cleared

Problem:    In a terminal window the popup menu is not cleared. (Gerry
            Agbobada)
Solution:   Redraw when SOME_VALID is used instead of NOT_VALID. (closes
            #2194)
This commit is contained in:
Bram Moolenaar 2017-10-07 17:35:09 +02:00
parent d78f03f860
commit 54e5dbf58e
2 changed files with 7 additions and 2 deletions

View File

@ -40,9 +40,12 @@
* TODO: * TODO:
* - in GUI vertical split causes problems. Cursor is flickering. (Hirohito * - in GUI vertical split causes problems. Cursor is flickering. (Hirohito
* Higashi, 2017 Sep 19) * Higashi, 2017 Sep 19)
* - Can we get the default fg/bg color of the terminal and use it for
* libvterm? Should also fix ssh-in-a-win.
* - double click in Window toolbar starts Visual mode (but not always?).
* - Shift-Tab does not work. * - Shift-Tab does not work.
* - after resizing windows overlap. (Boris Staletic, #2164) * - after resizing windows overlap. (Boris Staletic, #2164)
* - double click in Window toolbar starts Visual mode. * - :wall gives an error message. (Marius Gedminas, #2190)
* - Redirecting output does not work on MS-Windows, Test_terminal_redir_file() * - Redirecting output does not work on MS-Windows, Test_terminal_redir_file()
* is disabled. * is disabled.
* - cursor blinks in terminal on widows with a timer. (xtal8, #2142) * - cursor blinks in terminal on widows with a timer. (xtal8, #2142)
@ -2239,7 +2242,7 @@ term_update_window(win_T *wp)
screen = vterm_obtain_screen(vterm); screen = vterm_obtain_screen(vterm);
state = vterm_obtain_state(vterm); state = vterm_obtain_state(vterm);
if (wp->w_redr_type >= NOT_VALID) if (wp->w_redr_type >= SOME_VALID)
{ {
term->tl_dirty_row_start = 0; term->tl_dirty_row_start = 0;
term->tl_dirty_row_end = MAX_ROW; term->tl_dirty_row_end = MAX_ROW;

View File

@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1177,
/**/ /**/
1176, 1176,
/**/ /**/