1
0
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:
Nicolas Viennot 2015-09-29 03:16:07 -04:00
parent ea331cead9
commit c570977df3

View File

@ -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)