Clamping to area needs to use the offset without the status line, since that is

where the window offsets are based.
This commit is contained in:
Nicholas Marriott
2020-05-02 16:17:44 +01:00
parent cb1131a294
commit af69289e0e
4 changed files with 9 additions and 6 deletions

2
tmux.h
View File

@ -1321,6 +1321,8 @@ struct tty_ctx {
/* Target region (usually pane) offset and size. */
u_int xoff;
u_int yoff;
u_int rxoff;
u_int ryoff;
u_int sx;
u_int sy;