Skip to content

Commit 4d60cde

Browse files
committed
updated for version 7.3.372
Problem: When using a command line mapping to <Up> with file name completion to go one directory up, 'wildchar' is inserted. (Yasuhiro Matsumoto) Solution: Set the KeyTyped flag.
1 parent 4e41807 commit 4d60cde

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ex_getln.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,11 @@ getcmdline(firstc, count, indent)
645645
}
646646
else if (ccline.cmdpos > i)
647647
cmdline_del(i);
648+
649+
/* Now complete in the new directory. Set KeyTyped in case the
650+
* Up key came from a mapping. */
648651
c = p_wc;
652+
KeyTyped = TRUE;
649653
}
650654
}
651655

src/version.c

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

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
372,
717719
/**/
718720
371,
719721
/**/

0 commit comments

Comments
 (0)