mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
Do not clear the prompt when a message is shown, just leave it around and
return to it when the message is finished.
This commit is contained in:
parent
5ea143f521
commit
5819d2a9d7
2
status.c
2
status.c
@ -554,7 +554,6 @@ status_message_set(struct client *c, const char *fmt, ...)
|
||||
|
||||
limit = options_get_number(global_options, "message-limit");
|
||||
|
||||
status_prompt_clear(c);
|
||||
status_message_clear(c);
|
||||
|
||||
va_start(ap, fmt);
|
||||
@ -600,6 +599,7 @@ status_message_clear(struct client *c)
|
||||
free(c->message_string);
|
||||
c->message_string = NULL;
|
||||
|
||||
if (c->prompt_string == NULL)
|
||||
c->tty.flags &= ~(TTY_NOCURSOR|TTY_FREEZE);
|
||||
c->flags |= CLIENT_REDRAW; /* screen was frozen and may have changed */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user