Lazygit: Invisible highlighting in kitty and alacritty terminal

Created on 8 May 2020  路  12Comments  路  Source: jesseduffield/lazygit

In the kitty terminal it is impossible to see the highlighting, regardless of colour scheme.

Steps to reproduce:

  • Try lazygit in the kitty terminal
  • OS: Arch Linux
  • Lazygit Version 0.20.2

    • Kitty version 0.17.3

bug compatibility documentation

Most helpful comment

@mordax777 I played around with the settings and got something that worked for me. I'm using Kitty. The docs helped.

gui:
  theme:
    lightTheme: false
    activeBorderColor:
      - white
      - bold
    inactiveBorderColor:
      - white
    selectedLineBgColor:
      - reverse
      - blue

image

All 12 comments

Same issue here. The selected item is not highlighted.

  • lazygit 0.20.2
  • Alacritty 0.4.2
  • macOS

It's not exactly invisible, just hard to notice. The focus on screenshot below is on Cargo.lock:

image

It would be great if the background was highlighted instead.

That is actually visible for me. This is what I am seeing:

alacritty

Had the same problem, but looking through the docs I found a solution. Make a config file and put the settings in it:

Default Path

Default path for the config file:

Linux: ~/.config/jesseduffield/lazygit/config.yml
MacOS: ~/Library/Application Support/jesseduffield/lazygit/config.yml
Windows: %APPDATA%\jesseduffield\lazygit\config.yml

And put these settings in it

  gui:
    theme:
      lightTheme: true
      activeBorderColor:
        - black
        - bold
      inactiveBorderColor:
        - black
      selectedLineBgColor:
        - default

How the highlighting now looks

Screenshot

Thanks for pointing that out @a-elhag . I'm not aware of any way around this issue in alacritty. Does anybody have suggestions on how we could get around it, or failing that, how to make the config-based solution easier to find?

Had the same problem, but looking through the docs I found a solution. Make a config file and put the settings in it:

Default Path

Default path for the config file:

Linux: ~/.config/jesseduffield/lazygit/config.yml
MacOS: ~/Library/Application Support/jesseduffield/lazygit/config.yml
Windows: %APPDATA%\jesseduffield\lazygit\config.yml

And put these settings in it

  gui:
    theme:
      lightTheme: true
      activeBorderColor:
        - black
        - bold
      inactiveBorderColor:
        - black
      selectedLineBgColor:
        - default

How the highlighting now looks

Screenshot

If I add the configuration it looks like this afterwards:
image

@mordax777 can you see how you go with:

      inactiveBorderColor:
        - white

@jesseduffield sorry for the late reply. Here the result.
image

@mordax777 I played around with the settings and got something that worked for me. I'm using Kitty. The docs helped.

gui:
  theme:
    lightTheme: false
    activeBorderColor:
      - white
      - bold
    inactiveBorderColor:
      - white
    selectedLineBgColor:
      - reverse
      - blue

image

@bahelms Thanks, that fixed the problem!

For people in the future, I will add that I had the same issue as @benruijl, and it was solved by going into my terminal settings and allowing bold fonts.

There is the same issue in windows Terminal.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jesseduffield picture jesseduffield  路  6Comments

fluffynuts picture fluffynuts  路  4Comments

spin6lock picture spin6lock  路  5Comments

stratosgear picture stratosgear  路  5Comments

tupaschoal picture tupaschoal  路  6Comments