aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-15 17:44:06 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-15 17:44:06 +0000
commitff500b46c975ed156407cdcf69fafc9b22b61e2c (patch)
tree56e9b5acb5fb662bd0c30264dde3ac1ee871d9fd /status.c
parent72d56bd6140a0101c04f48da6633ff93708b731d (diff)
downloadrtmux-ff500b46c975ed156407cdcf69fafc9b22b61e2c.tar.gz
rtmux-ff500b46c975ed156407cdcf69fafc9b22b61e2c.tar.bz2
rtmux-ff500b46c975ed156407cdcf69fafc9b22b61e2c.zip
For some reason when clearing status/message it was redrawing the entire client
not just the status line. Changing this also revealed the check for the status line was incorrect when drawing the pane.
Diffstat (limited to 'status.c')
-rw-r--r--status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/status.c b/status.c
index 59a32e6f..4e3eaf0a 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.92 2009-07-15 17:43:45 nicm Exp $ */
+/* $Id: status.c,v 1.93 2009-07-15 17:44:06 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -494,7 +494,7 @@ status_message_clear(struct client *c)
c->message_string = NULL;
c->tty.flags &= ~(TTY_NOCURSOR|TTY_FREEZE);
- c->flags |= CLIENT_REDRAW;
+ c->flags |= CLIENT_STATUS;
screen_reinit(&c->status);
}
@@ -581,7 +581,7 @@ status_prompt_clear(struct client *c)
c->prompt_buffer = NULL;
c->tty.flags &= ~(TTY_NOCURSOR|TTY_FREEZE);
- c->flags |= CLIENT_REDRAW;
+ c->flags |= CLIENT_STATUS;
screen_reinit(&c->status);
}