mirror of
https://github.com/zoriya/vim.git
synced 2025-12-20 14:15:18 +00:00
updated for version 7.0205
This commit is contained in:
12
src/term.c
12
src/term.c
@@ -4695,10 +4695,18 @@ check_termcode(max_offset, buf, buflen)
|
||||
&& orig_num_clicks != 4
|
||||
&& orig_mouse_col == mouse_col
|
||||
&& orig_mouse_row == mouse_row
|
||||
&& ((orig_topline == curwin->w_topline
|
||||
#ifdef FEAT_DIFF
|
||||
&& orig_topfill == curwin->w_topfill
|
||||
&& orig_topfill == curwin->w_topfill
|
||||
#endif
|
||||
&& orig_topline == curwin->w_topline)
|
||||
)
|
||||
#ifdef FEAT_WINDOWS
|
||||
/* Double click in tab pages line also works
|
||||
* when window contents changes. */
|
||||
|| (mouse_row == 0 && firstwin->w_winrow > 0)
|
||||
#endif
|
||||
)
|
||||
)
|
||||
++orig_num_clicks;
|
||||
else
|
||||
orig_num_clicks = 1;
|
||||
|
||||
Reference in New Issue
Block a user