Skip to content

Commit aad41dc

Browse files
committed
updated for version 7.4.367
Problem: Other solution for redrawing after completion. Solution: Schedule a window redraw instead of just clearing the command line. (Jacob Niehus)
1 parent 59abc0c commit aad41dc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/edit.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3854,7 +3854,8 @@ ins_compl_prep(c)
38543854
ins_compl_free();
38553855
compl_started = FALSE;
38563856
compl_matches = 0;
3857-
msg_clr_cmdline(); /* necessary for "noshowmode" */
3857+
if (!shortmess(SHM_COMPLETIONMENU))
3858+
msg_clr_cmdline(); /* necessary for "noshowmode" */
38583859
ctrl_x_mode = 0;
38593860
compl_enter_selects = FALSE;
38603861
if (edit_submode != NULL)
@@ -4591,7 +4592,10 @@ ins_compl_delete()
45914592
*/
45924593
i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
45934594
backspace_until_column(i);
4595+
4596+
/* Not sure what is still valid, better redraw everything. */
45944597
changed_cline_bef_curs();
4598+
redraw_curbuf_later(NOT_VALID);
45954599
}
45964600

45974601
/* Insert the new text being completed. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
367,
737739
/**/
738740
366,
739741
/**/

0 commit comments

Comments
 (0)