terminalprops() does not report a direct color terminal by h-east · Pull Request #21251 · vim/vim · GitHub
Skip to content

terminalprops() does not report a direct color terminal - #21251

Closed
h-east wants to merge 1 commit into
vim:masterfrom
h-east:terminalprops-rgb
Closed

h-east wants to merge 1 commit into
vim:masterfrom
h-east:terminalprops-rgb

Conversation

@h-east

@h-east h-east commented Sep 8, 2026

Copy link
Copy Markdown
Member
Problem:  A terminal entry with 16777216 colors, such as xterm-direct,
          needs 'termguicolors' to show its colors, and a vimrc has no
          way to tell that it is such a terminal.
Solution: Add "rgb" to terminalprops(), 'y' when 't_Co' is 16777216,
          and document setting 'termguicolors' from it.

related: #21191

Problem:  A terminal entry with 16777216 colors, such as xterm-direct,
          needs 'termguicolors' to show its colors, and a vimrc has no
          way to tell that it is such a terminal.
Solution: Add "rgb" to terminalprops(), 'y' when 't_Co' is 16777216,
          and document setting 'termguicolors' from it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chrisbra

chrisbra commented Sep 9, 2026

Copy link
Copy Markdown
Member

@chrisbra chrisbra closed this in b6e742a Sep 9, 2026
chrisbra added a commit that referenced this pull request Sep 10, 2026
related: #21251

Co-Authored-By: Heptite <christian@christianrobinson.name>
Signed-off-by: Christian Brabandt <cb@256bit.org>
@h-east
h-east deleted the terminalprops-rgb branch September 12, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants