From f08c9b2217c148e25a18a11fd55d96d93cbb3736 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 14 Jul 2009 19:11:58 +0000 Subject: 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. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index e2ffa0a7..60d7799c 100644 --- a/status.c +++ b/status.c @@ -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); } -- cgit