Use :mode instead of :redraw! when updating menu. (#1016)

* Use :mode instead of :redraw! when updating screen.

In neovim, it will actually clear the whole screen, whereas, redraw!
does not.

* Update version number in change log.
This commit is contained in:
Phil Runninger 2019-07-07 03:19:17 -04:00 committed by GitHub
parent 89a1a4355b
commit 3b1a850b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Change Log
#### 5.2...
- **.5**: Use `:mode` instead of `:redraw!` when updating menu. (PhilRunninger) #1016
- **.4**: When searching for root line num, stop at end of file. (PhilRunninger) #1015
- **.3**: Fix `<CR>` key map on the bookmark (lkebin) #1014
- **.2**: Make Enter work on the `.. ( up a dir )` line (PhilRunninger) #1013

View File

@ -31,7 +31,7 @@ function! s:MenuController.showMenu()
let l:done = 0
while !l:done
redraw!
mode
call self._echoPrompt()
let l:key = nr2char(getchar())