diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-19 20:48:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-19 20:48:48 +0000 |
commit | 6d9eaa64406c7251ceeedf779f63eb8c7b1630eb (patch) | |
tree | 87a8c4064c595b82e5b34353b740bc5f6ddd1487 /status.c | |
parent | 74d8f0bf1dda71efe96e8702e3313bbcd879abfb (diff) | |
download | rtmux-6d9eaa64406c7251ceeedf779f63eb8c7b1630eb.tar.gz rtmux-6d9eaa64406c7251ceeedf779f63eb8c7b1630eb.tar.bz2 rtmux-6d9eaa64406c7251ceeedf779f63eb8c7b1630eb.zip |
No space after prompt.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.32 2008-06-19 19:40:35 nicm Exp $ */ +/* $Id: status.c,v 1.33 2008-06-19 20:48:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -323,7 +323,7 @@ status_prompt_redraw(struct client *c) return; offset = 0; - xx = strlen(c->prompt_string) + 1; + xx = strlen(c->prompt_string); if (xx > c->sx) xx = c->sx; yy = c->sy - 1; @@ -332,7 +332,7 @@ status_prompt_redraw(struct client *c) screen_redraw_set_attributes(&ctx, ATTR_REVERSE, 0x88); screen_redraw_move_cursor(&ctx, 0, yy); - screen_redraw_write_string(&ctx, "%.*s ", (int) xx, c->prompt_string); + screen_redraw_write_string(&ctx, "%.*s", (int) xx, c->prompt_string); left = c->sx - xx; if (left != 0) { |