Fix scrollbar drag position when window is taller than tty, from Michael

Grant.
This commit is contained in:
nicm
2026-06-04 09:24:03 +00:00
parent 580f9ced08
commit 6beebbe074
3 changed files with 24 additions and 11 deletions

2
tmux.h
View File

@@ -3566,7 +3566,7 @@ void printflike(3, 4) window_copy_add(struct window_pane *, int, const char *,
...);
void printflike(3, 0) window_copy_vadd(struct window_pane *, int, const char *,
va_list);
void window_copy_scroll(struct window_pane *, int, u_int, int);
void window_copy_scroll(struct window_pane *, int, u_int, u_int, int);
void window_copy_pageup(struct window_pane *, int);
void window_copy_pagedown(struct window_pane *, int, int);
void window_copy_start_drag(struct client *, struct mouse_event *);