mirror of
https://github.com/tmux/tmux.git
synced 2026-03-23 17:10:42 +00:00
Use window options for cursor-style to avoid crash when no pane, from
Arden Packeer in GitHub issue 4942.
This commit is contained in:
4
input.c
4
input.c
@@ -2571,8 +2571,8 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
||||
}
|
||||
|
||||
#ifdef ENABLE_SIXEL
|
||||
w = wp->window;
|
||||
if (buf[0] == 'q' && ictx->interm_len == 0) {
|
||||
if (wp != NULL && buf[0] == 'q' && ictx->interm_len == 0) {
|
||||
w = wp->window;
|
||||
if (input_split(ictx) != 0)
|
||||
return (0);
|
||||
p2 = input_get(ictx, 1, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user