aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-04-15 17:50:02 +0000
committernicm <nicm>2020-04-15 17:50:02 +0000
commit53a29a2ffa0d7f167499b67ec36bc7a1adf78b49 (patch)
tree139787499abea7dc02a974d5ad22edf9a2cc4389 /tmux.h
parent1e72f5ea4356a102e12c0b5325d4af824899d39c (diff)
downloadrtmux-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 260891b2..73b6b941 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);