diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-13 21:19:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-13 21:19:21 +0100 |
commit | 181ca99e163b145cd1a4ec47a50cc25cf3994109 (patch) | |
tree | 29f4ee8addceac5667fbe06789247f750779b501 /src/screen.c | |
parent | 341a64c9cabff08e4a7dc8cd932a598e12134457 (diff) | |
download | vim-git-181ca99e163b145cd1a4ec47a50cc25cf3994109.tar.gz |
patch 8.0.1520: cursor in wrong line when using a WinBar in Terminal windowv8.0.1520
Problem: Cursor is in the wrong line when using a WinBar in a Terminal
window.
Solution: Adjust the row number. (Christian Brabandt, closes #2362)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index ce9b6e98e..97f69882b 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1176,6 +1176,11 @@ win_update(win_T *wp) */ if (term_update_window(wp) == OK) { +# ifdef FEAT_MENU + /* Draw the window toolbar, if there is one. */ + if (winbar_height(wp) > 0) + redraw_win_toolbar(wp); +# endif wp->w_redr_type = 0; return; } |