Skip to content

Commit 54e5dbf

Browse files
committed
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 vim#2194)
1 parent d78f03f commit 54e5dbf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/terminal.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@
4040
* TODO:
4141
* - in GUI vertical split causes problems. Cursor is flickering. (Hirohito
4242
* Higashi, 2017 Sep 19)
43+
* - Can we get the default fg/bg color of the terminal and use it for
44+
* libvterm? Should also fix ssh-in-a-win.
45+
* - double click in Window toolbar starts Visual mode (but not always?).
4346
* - Shift-Tab does not work.
4447
* - after resizing windows overlap. (Boris Staletic, #2164)
45-
* - double click in Window toolbar starts Visual mode.
48+
* - :wall gives an error message. (Marius Gedminas, #2190)
4649
* - Redirecting output does not work on MS-Windows, Test_terminal_redir_file()
4750
* is disabled.
4851
* - cursor blinks in terminal on widows with a timer. (xtal8, #2142)
@@ -2239,7 +2242,7 @@ term_update_window(win_T *wp)
22392242
screen = vterm_obtain_screen(vterm);
22402243
state = vterm_obtain_state(vterm);
22412244

2242-
if (wp->w_redr_type >= NOT_VALID)
2245+
if (wp->w_redr_type >= SOME_VALID)
22432246
{
22442247
term->tl_dirty_row_start = 0;
22452248
term->tl_dirty_row_end = MAX_ROW;

src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1177,
764766
/**/
765767
1176,
766768
/**/

0 commit comments

Comments
 (0)