mirror of
https://github.com/tmux/tmux.git
synced 2026-03-26 13:16:37 +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:
2
input.c
2
input.c
@@ -2571,8 +2571,8 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_SIXEL
|
#ifdef ENABLE_SIXEL
|
||||||
|
if (wp != NULL && buf[0] == 'q' && ictx->interm_len == 0) {
|
||||||
w = wp->window;
|
w = wp->window;
|
||||||
if (buf[0] == 'q' && ictx->interm_len == 0) {
|
|
||||||
if (input_split(ictx) != 0)
|
if (input_split(ictx) != 0)
|
||||||
return (0);
|
return (0);
|
||||||
p2 = input_get(ictx, 1, 0, 0);
|
p2 = input_get(ictx, 1, 0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user