mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08: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…
x
Reference in New Issue
Block a user