Store and restore cursor position when copy mode is resized, from Anindya

Mukherjee.
This commit is contained in:
Nicholas Marriott
2020-05-05 10:20:57 +01:00
parent 1f6c00f8ef
commit e810f15272
4 changed files with 70 additions and 40 deletions

3
tmux.h
View File

@ -2527,8 +2527,7 @@ void screen_set_path(struct screen *, const char *);
void screen_push_title(struct screen *);
void screen_pop_title(struct screen *);
void screen_resize(struct screen *, u_int, u_int, int);
void screen_resize_cursor(struct screen *, u_int, u_int, int, int, u_int *,
u_int *);
void screen_resize_cursor(struct screen *, u_int, u_int, int, int, int);
void screen_set_selection(struct screen *, u_int, u_int, u_int, u_int,
u_int, int, struct grid_cell *);
void screen_clear_selection(struct screen *);