mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Sending modes as well
This commit is contained in:
parent
ea331cead9
commit
c570977df3
@ -33,13 +33,15 @@ static void do_snapshot(struct tmate_unpacker *uk,
|
||||
screen = &pane->base;
|
||||
grid = screen->grid;
|
||||
|
||||
pack(array, 3);
|
||||
pack(array, 4);
|
||||
pack(int, pane->id);
|
||||
|
||||
pack(array, 2);
|
||||
pack(int, screen->cx);
|
||||
pack(int, screen->cy);
|
||||
|
||||
pack(unsigned_int, screen->mode);
|
||||
|
||||
max_lines = max_history_lines + grid->sy;
|
||||
|
||||
#define grid_num_lines(grid) (grid->hsize + grid->sy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user