File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -885,17 +885,23 @@ fu! s:MapSpecs()
885885endf
886886
887887fu ! s: KeyLoop ()
888- wh exists (' s:init' ) && s: keyloop
889- redr
890- let nr = getchar ()
891- let chr = ! type (nr) ? nr2char (nr) : nr
892- if nr >=# 0x20
893- cal s: PrtFocusMap (chr)
894- el
895- let cmd = matchstr (maparg (chr), ' :<C-U>\zs.\+\ze<CR>$' )
896- exe ( cmd != ' ' ? cmd : ' norm ' .chr )
897- en
898- endw
888+ let t_ve = &t_ve
889+ set t_ve =
890+ try
891+ wh exists (' s:init' ) && s: keyloop
892+ redr
893+ let nr = getchar ()
894+ let chr = ! type (nr) ? nr2char (nr) : nr
895+ if nr >=# 0x20
896+ cal s: PrtFocusMap (chr)
897+ el
898+ let cmd = matchstr (maparg (chr), ' :<C-U>\zs.\+\ze<CR>$' )
899+ exe ( cmd != ' ' ? cmd : ' norm ' .chr )
900+ en
901+ endw
902+ fina
903+ let &t_ve = t_ve
904+ endt
899905endf
900906" * Toggling {{{1
901907fu ! s: ToggleFocus ()
You can’t perform that action at this time.
0 commit comments