File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5393,6 +5393,7 @@ check_termcode(
53935393 if (* tp == ESC && !p_ek && (State & MODE_INSERT ))
53945394 continue ;
53955395
5396+ tp [len ] = NUL ;
53965397 key_name [0 ] = NUL ; // no key name found yet
53975398 key_name [1 ] = NUL ; // no key name found yet
53985399 modifiers = 0 ; // no modifiers yet
Original file line number Diff line number Diff line change @@ -1715,4 +1715,14 @@ func Test_map_after_timed_out_nop()
17151715 call delete (' Xtest_map_after_timed_out_nop' )
17161716endfunc
17171717
1718+ func Test_using_past_typeahead ()
1719+ nnoremap :00 0
1720+ exe " norm :set \x80\xfb 0=0\<CR> "
1721+ exe " sil norm :0\x0f \<C-U>\<CR> "
1722+
1723+ exe " norm :set \x80\xfb 0=\<CR> "
1724+ nunmap :00
1725+ endfunc
1726+
1727+
17181728" vim: shiftwidth = 2 sts = 2 expandtab
Original file line number Diff line number Diff line change @@ -735,6 +735,8 @@ static char *(features[]) =
735735
736736static int included_patches [] =
737737{ /* Add new patch number below this line */
738+ /**/
739+ 18 ,
738740/**/
739741 17 ,
740742/**/
You can’t perform that action at this time.
0 commit comments