patch 9.1.1330: may receive E315 in terminal
Problem: may receive E315 in terminal Solution: call check_cursor() (Hirohito Higashi) fixes: #16024 fixes: #16211 fixes: #17099 closes: #17170 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
16341e7090
commit
926e2af42e
10
src/mouse.c
10
src/mouse.c
@ -1902,16 +1902,6 @@ retnomove:
|
||||
// Drag the status line
|
||||
count = row - W_WINROW(dragwin) - dragwin->w_height + 1
|
||||
- on_status_line;
|
||||
#ifdef FEAT_TERMINAL
|
||||
if (bt_terminal(dragwin->w_buffer))
|
||||
{
|
||||
win_T *curwin_save = curwin;
|
||||
curwin = dragwin;
|
||||
update_topline();
|
||||
validate_cursor();
|
||||
curwin = curwin_save;
|
||||
}
|
||||
#endif
|
||||
win_drag_status_line(dragwin, count);
|
||||
did_drag |= count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user