Skip to content

lazygit does not use gui.theme.selectedLineBgColor for the diff pane #3386

@intelfx

Description

@intelfx

Describe the bug

Lazygit does not seem to permit customization of the the diff pane caret row background color via the gui.theme.selectedLineBgColor configuration key (or any other key, for that matter).

To Reproduce

  1. Set gui.theme.selectedLineBgColor to a custom color (anything except blue, e.g.):
    gui:
      theme:
        selectedLineBgColor:
          - white
  2. Start lazygit with some unstaged changes
  3. Select the file with unstaged changes, press Enter to go to the diff pane
  4. Observe blue background of the caret row

Expected behavior

Expected gui.theme.selectedLineBgColor to affect the diff pane.

Screenshots

Снимок экрана от 2024-03-15 00-53-31
Снимок экрана от 2024-03-15 00-53-36

Version info:

$ lazygit --version
commit=v0.40.2, build date=2023-08-12T17:47:33Z, build source=binaryRelease, version=0.40.2, os=linux, arch=amd64, git version=2.44.0

$ git --version                                                                                                      
git version 2.44.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions