Skip to content

:terminal bold bright inconsistency in some terminals (iterm2) #11335

@bluz71

Description

@bluz71

Hello Neovim and @bfredl,

The recent merging of #10994 is very nice. It fixes many of the issues I reported in #7018. So thanks indeed. It is a very big improvement.

However, there is a quirk I notice. Bolded named colors are being displayed with non-bolded colors.

Steps to reproduce issue:

  • Use latest nightly
  • Enable termguicolors
  • Launch :terminal
  • Type git log --format='%C(bold green)%h%C(bold red)%d%C(reset)'

This should be using color 10 (bold green) and color 9 (bold), but instead it is displaying with color 2 (green) and 1 (red).

Compare and contrast that git log command outside of nvim terminal, correct bolded colors will be used.

Doing git log --format='%C(10)%h%C(9)%d%C(reset)' does work, however quite a few utility which use bolded named colors are broken.

Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs:reproWe need minimal steps to reproduce the issuetuitermcodes, terminfo, termcap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions