mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
Sync OpenBSD patchset 1022:
Get client_width and client_height the right way round, from Stephen Thirlwall.
This commit is contained in:
parent
0fd0030a2a
commit
98e24b9f70
4
format.c
4
format.c
@ -303,8 +303,8 @@ format_client(struct format_tree *ft, struct client *c)
|
|||||||
time_t t;
|
time_t t;
|
||||||
|
|
||||||
format_add(ft, "client_cwd", "%s", c->cwd);
|
format_add(ft, "client_cwd", "%s", c->cwd);
|
||||||
format_add(ft, "client_height", "%u", c->tty.sx);
|
format_add(ft, "client_height", "%u", c->tty.sy);
|
||||||
format_add(ft, "client_width", "%u", c->tty.sy);
|
format_add(ft, "client_width", "%u", c->tty.sx);
|
||||||
format_add(ft, "client_tty", "%s", c->tty.path);
|
format_add(ft, "client_tty", "%s", c->tty.path);
|
||||||
format_add(ft, "client_termname", "%s", c->tty.termname);
|
format_add(ft, "client_termname", "%s", c->tty.termname);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user