aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-02-02 01:58:16 +0000
committerTiago Cunha <tcunha@gmx.com>2012-02-02 01:58:16 +0000
commit98e24b9f7010f99513cd78afe219a4221a13156f (patch)
treec4e36d8dff3cff17a753500056b18b4ab7e989dc /format.c
parent0fd0030a2acfe10be5670114adfc9fc046c37492 (diff)
downloadrtmux-98e24b9f7010f99513cd78afe219a4221a13156f.tar.gz
rtmux-98e24b9f7010f99513cd78afe219a4221a13156f.tar.bz2
rtmux-98e24b9f7010f99513cd78afe219a4221a13156f.zip
Sync OpenBSD patchset 1022:
Get client_width and client_height the right way round, from Stephen Thirlwall.
Diffstat (limited to 'format.c')
-rw-r--r--format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/format.c b/format.c
index af675ce5..e87887d9 100644
--- a/format.c
+++ b/format.c
@@ -303,8 +303,8 @@ format_client(struct format_tree *ft, struct client *c)
time_t t;
format_add(ft, "client_cwd", "%s", c->cwd);
- format_add(ft, "client_height", "%u", c->tty.sx);
- format_add(ft, "client_width", "%u", c->tty.sy);
+ format_add(ft, "client_height", "%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_termname", "%s", c->tty.termname);