gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Impossible to configure color of title of current active block

Open cgahr opened this issue 2 years ago • 2 comments

Describe the bug It is not possible to configure the color of the title of the currently active block directly. That's the orange part on the following screenshot: image

As far as I can tell, gitui use color4 of the terminal instead.

Expected behavior There should the option to configure this style element directly using the config.

Context (please complete the following information):

  • OS/Distro + Version: Ubuntu 22.05 LTS
  • GitUI Version 0.24.3
  • Rust version: no installed

Additional context Add any other context about the problem here.

cgahr avatar Feb 16 '24 07:02 cgahr

This is not a feature yet, not a bug

extrawurst avatar Feb 16 '24 17:02 extrawurst

Any pointer, which part of the code I have to touch if I want to implement this myself?

cgahr avatar Feb 16 '24 18:02 cgahr

@cgahr by looking into how it would be done I saw its just this simple change, so I did it. please feel free to review it and pick up another good-first-issue

extrawurst avatar Feb 18 '24 12:02 extrawurst

Thank you so much, I'm happy it was a very small change.

I think, however, that you might have introduced a bug while implementing this, see #2056.

cgahr avatar Feb 18 '24 17:02 cgahr