mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 03:00:06 +08:00
Redraw in while loop
This commit is contained in:
parent
15fb53b64e
commit
ab9a50d21b
@ -36,8 +36,8 @@ function! s:self.open() abort
|
|||||||
endif
|
endif
|
||||||
" move to prvious window
|
" move to prvious window
|
||||||
wincmd w
|
wincmd w
|
||||||
redraw!
|
|
||||||
while 1
|
while 1
|
||||||
|
redraw!
|
||||||
let char = self._getchar()
|
let char = self._getchar()
|
||||||
if char ==# "\<FocusLost>" || char ==# "\<FocusGained>" || char2nr(char) == 128
|
if char ==# "\<FocusLost>" || char ==# "\<FocusGained>" || char2nr(char) == 128
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user