With force, kill previous job before starting new. Fixes problem

reported by Scott Mcdermott in GitHub issue 1627.
This commit is contained in:
nicm
2019-03-18 09:46:42 +00:00
parent bd3332b211
commit d2d43987d0
2 changed files with 4 additions and 2 deletions

View File

@ -704,7 +704,7 @@ status_message_redraw(struct client *c)
lines = status_line_size(c);
if (lines <= 1)
lines = 1;
screen_init(sl->active, c->tty.sx, 1, 0);
screen_init(sl->active, c->tty.sx, lines, 0);
len = screen_write_strlen("%s", c->message_string);
if (len > c->tty.sx)