mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-23 23:29:15 +01:00
Fix copy mode when the buffer size is smaller than 2000
This commit is contained in:
parent
ddf0a9dd55
commit
59cab76dd8
@ -203,7 +203,8 @@ void tmate_sync_copy_mode(struct window_pane *wp)
|
||||
if (data->screen.sel.flag) {
|
||||
pack(array, 3);
|
||||
pack(int, data->selx);
|
||||
pack(int, data->sely);
|
||||
pack(int, -data->sely + screen_hsize(data->backing)
|
||||
+ screen_size_y(data->backing) - 1);
|
||||
pack(int, data->rectflag);
|
||||
} else
|
||||
pack(array, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user