diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-02-02 00:03:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-02-02 00:03:46 +0000 |
commit | 2af30434eefed53202feb66c58c552b707ce369d (patch) | |
tree | 8d79810e79546cf4d8531c73fb28a2acf1088490 /usr.bin/tmux/format.c | |
parent | 7472e62375f2e3f6a9d40b3532a552ba21d13bf4 (diff) |
Get client_width and client_height the right way round, from Stephen
Thirlwall.
Diffstat (limited to 'usr.bin/tmux/format.c')
-rw-r--r-- | usr.bin/tmux/format.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c index 59e5ef26a0e..4b88ac41537 100644 --- a/usr.bin/tmux/format.c +++ b/usr.bin/tmux/format.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.5 2012/01/30 09:39:34 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.6 2012/02/02 00:03:45 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |