diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-10-30 05:29:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-11-01 07:12:03 +0000 |
| commit | 9728ada0289c446585325a74ded9c94958d9ab24 (patch) | |
| tree | 5524b72fdaa96701a1915be8bfdffd4727031169 /csi.c | |
| parent | search: do not emit composing keys (diff) | |
csi: focus mode (private mode 1004): send focus event immediate, when enabled
This lets the application now the current state, without having to
wait for the user to switch focus.
Fixes #2202
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -422,6 +422,8 @@ decset_decrst(struct terminal *term, unsigned param, bool enable) case 1004: term->focus_events = enable; + if (enable) + term_to_slave(term, term->kbd_focus ? "\033[I" : "\033[O", 3); break; case 1005: |
