mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Do not move the cursor when the mouse wheel is used, GitHub issue 1493.
This commit is contained in:
@ -529,7 +529,7 @@ window_copy_command(struct window_pane *wp, struct client *c, struct session *s,
|
||||
return;
|
||||
command = args->argv[0];
|
||||
|
||||
if (m != NULL && m->valid)
|
||||
if (m != NULL && m->valid && !MOUSE_WHEEL(m->b))
|
||||
window_copy_move_mouse(m);
|
||||
|
||||
if (args->argc == 1) {
|
||||
|
Reference in New Issue
Block a user