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