diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 23:32:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 23:32:26 +0000 |
commit | 7ba01f68437e43538da1c7be96140709ddb00d77 (patch) | |
tree | bdafea75a00c8d03cb5a027d2b0472e76c1e798b /status.c | |
parent | c3e049c5a9343138be44c9ab8f77c36293871424 (diff) |
New window command.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.1 2007-10-01 14:53:29 nicm Exp $ */ +/* $Id: status.c,v 1.2 2007-10-03 23:32:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -34,7 +34,7 @@ status_write(struct client *c) u_int i; input_store_zero(b, CODE_CURSOROFF); - input_store_two(b, CODE_CURSORMOVE, s->sy + 1, 1); + input_store_two(b, CODE_CURSORMOVE, c->sy - status_lines + 1, 1); input_store_two(b, CODE_ATTRIBUTES, ATTR_REVERSE, 0x20); size = s->sx; |