Skip to content

tty: allow terminal features to be disabled - #5486

Open
mgrant0 wants to merge 1 commit into
masterfrom
disable_terminal_features
Open

tty: allow terminal features to be disabled#5486
mgrant0 wants to merge 1 commit into
masterfrom
disable_terminal_features

Conversation

@mgrant0

@mgrant0 mgrant0 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Allow terminal features to be disabled like:

set -as terminal-features ',xterm-256color:-sync:-sixel'

@nicm

nicm commented Aug 12, 2026

Copy link
Copy Markdown
Member

I think this syntax should be sixel@ to match terminal-capabilities.

@mgrant0
mgrant0 force-pushed the disable_terminal_features branch from d827d40 to 6fc2566 Compare August 12, 2026 10:27
@mgrant0

mgrant0 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

Use an '@' suffix to disable the feature like this:

set -as terminal-features ',xterm-256color:sync@:sixel@'

The man page now says that trailing @ disables a feature even if it is in terminfo or auto-detected, and explicitly notes this matches terminal-overrides.

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

Labels

None yet

Projects

Status: Not Started

Development

Successfully merging this pull request may close these issues.

2 participants