1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00

Redraw in while loop

This commit is contained in:
wsdjeg 2017-07-22 08:47:46 +08:00
parent 15fb53b64e
commit ab9a50d21b

View File

@ -36,8 +36,8 @@ function! s:self.open() abort
endif
" move to prvious window
wincmd w
redraw!
while 1
redraw!
let char = self._getchar()
if char ==# "\<FocusLost>" || char ==# "\<FocusGained>" || char2nr(char) == 128
continue