Skip to content

fix(image): apply tmux extended-keys workaround for always too - #2864

Open
yakovlievv wants to merge 1 commit into
folke:mainfrom
yakovlievv:fix/image-tmux-extended-keys-always
Open

fix(image): apply tmux extended-keys workaround for always too#2864
yakovlievv wants to merge 1 commit into
folke:mainfrom
yakovlievv:fix/image-tmux-extended-keys-always

Conversation

@yakovlievv

Copy link
Copy Markdown

Description

tmux show -g extended-keys returns on, off, or always. The existing workaround for terminal-response leaks only triggered when the value was on, so users with set -s extended-keys always still saw the \033[>q XTVERSION reply leak into the active window as literal text (e.g. tty(0.46.2)), often also tripping bracketed paste.

Match always in addition to on so the workaround engages for both.

Related Issue(s)

Refs: #2332

Screenshots

N/A — terminal escape leak, no visual change.

`tmux show -g extended-keys` returns `on`, `off`, or `always`. The
existing workaround for terminal-response leaks only triggered when
the value was `on`, so users with `set -s extended-keys always` still
saw the `\033[>q` XTVERSION reply leak into the active window as
literal text (e.g. `tty(0.46.2)`), often also tripping bracketed paste.

Match `always` in addition to `on` so the workaround engages for both.

Refs: folke#2332
@github-actions github-actions Bot added image size/xs Extra small PR (<3 lines changed) and removed image labels May 21, 2026
@vvatikiotis

Copy link
Copy Markdown

same as #2790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs Extra small PR (<3 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants