diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-01-03 21:32:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-01-03 21:32:11 +0000 |
commit | 205b78ec588c2235bf037edb75b1fe2ac8d78386 (patch) | |
tree | fbcec5da406b1c1a8ace1979a4907ebd3bf91b21 /status.c | |
parent | b8e616f44555ac74f652375af76da2689afa9147 (diff) |
Some key tweaks, fix status bar to not rely on attr.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.17 2008-01-03 20:01:47 nicm Exp $ */ +/* $Id: status.c,v 1.18 2008-01-03 21:32:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -52,7 +52,10 @@ status_write_client(struct client *c) if (ctx.s->cx > screen_last_x(ctx.s)) break; } - screen_redraw_clear_end_of_line(&ctx); + while (ctx.s->cx < screen_size_x(ctx.s)) { + ctx.write(ctx.data, TTY_CHARACTER, ' '); + ctx.s->cx++; + } screen_redraw_stop(&ctx); } |