mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 08:18:48 +00:00
The redraw callback could be fired with a NULL pane if it updates while
in a mode, problem reported by Martin Vahlensieck.
This commit is contained in:
parent
2372b0fdc6
commit
068b92b051
@ -103,6 +103,7 @@ screen_write_redraw_cb(const struct tty_ctx *ttyctx)
|
||||
{
|
||||
struct window_pane *wp = ttyctx->arg;
|
||||
|
||||
if (wp != NULL)
|
||||
wp->flags |= PANE_REDRAW;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user