From ab9a50d21bb7d8bf442d07df745562990916e8d8 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 22 Jul 2017 08:47:46 +0800 Subject: [PATCH] Redraw in while loop --- autoload/SpaceVim/api/transient_state.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/api/transient_state.vim b/autoload/SpaceVim/api/transient_state.vim index cda02736e..73d482df7 100644 --- a/autoload/SpaceVim/api/transient_state.vim +++ b/autoload/SpaceVim/api/transient_state.vim @@ -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 ==# "\" || char ==# "\" || char2nr(char) == 128 continue