mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 01:58:46 +00:00
Do not send focus sequences when focus is enabled or disabled by the
application if it is turned off. GitHub issue 3142.
This commit is contained in:
parent
d6306b634e
commit
18105c8ecb
2
input.c
2
input.c
@ -1798,6 +1798,8 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
|
||||
screen_write_mode_set(sctx, MODE_FOCUSON);
|
||||
if (wp == NULL)
|
||||
break;
|
||||
if (!options_get_number(global_options, "focus-events"))
|
||||
break;
|
||||
if (wp->flags & PANE_FOCUSED)
|
||||
bufferevent_write(wp->event, "\033[I", 3);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user