You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set-option -g mouse on and scroll up with the mouse-wheel in copy-mode. You drag a selection with the mouse, but it's longer than what's visible so you scroll down. When the window reaches the bottom, copy-mode exits and the selection goes away.
Is there some way, for example, a key binding that I could bind WheelDownPane to something which would not exit copy-mode if #{selection_present} is true?
Looking at window_copy_cmd_scroll_down(), it tests data->scroll_exit to determine if it should exit copy-mode. I am not sure how this could get set when scrolling up with the mouse wheel.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If you
set-option -g mouse on
and scroll up with the mouse-wheel in copy-mode. You drag a selection with the mouse, but it's longer than what's visible so you scroll down. When the window reaches the bottom, copy-mode exits and the selection goes away.Is there some way, for example, a key binding that I could bind
WheelDownPane
to something which would not exit copy-mode if#{selection_present}
is true?Here's the stock binding for WheelDownPane:
Looking at
window_copy_cmd_scroll_down()
, it testsdata->scroll_exit
to determine if it should exit copy-mode. I am not sure how this could get set when scrolling up with the mouse wheel.Beta Was this translation helpful? Give feedback.
All reactions