diff options
author | nicm <nicm> | 2020-04-15 17:50:02 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-15 17:50:02 +0000 |
commit | 53a29a2ffa0d7f167499b67ec36bc7a1adf78b49 (patch) | |
tree | 139787499abea7dc02a974d5ad22edf9a2cc4389 /tmux.h | |
parent | 1e72f5ea4356a102e12c0b5325d4af824899d39c (diff) | |
download | rtmux-53a29a2ffa0d7f167499b67ec36bc7a1adf78b49.tar.gz rtmux-53a29a2ffa0d7f167499b67ec36bc7a1adf78b49.tar.bz2 rtmux-53a29a2ffa0d7f167499b67ec36bc7a1adf78b49.zip |
Instead of fixing with the cursor position when the copied screen is
created, resize it and let the resize/reflow code fix it up and return
it. Solves various problems with cursor position and resizing when in
copy mode. With Anindya Mukherjee.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2437,6 +2437,8 @@ 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_set_selection(struct screen *, u_int, u_int, u_int, u_int, u_int, int, struct grid_cell *); void screen_clear_selection(struct screen *); |