jesseduffield.lazygit/pkg
Stefan Haller f185e1a5e3 Fix wrong inactive highlight when switching between repos
When switching between repos, each repo might have a different focused panel; in
this case, the previously focused panel would show the "inactive" highlight. By
default this is only bold text, so it's barely noticeable, but it becomes more
pronounced when setting e.g.

gui:
  theme:
    inactiveViewSelectedLineBgColor:
      - "#666666"

I noticed this especially when entering or leaving submodules; for example,
enter a submodule by pressing enter in the Files panel, then switch to the
Commits panel in the submodule, then press Esc to go back to the parent repo.
This would put the focus back into the Files panel, but keep the inactive
highlight in the Commits panel.
2025-06-05 12:58:38 +02:00
..
app Make Commit.Hash a getter for an unexported hash field 2025-04-29 14:57:15 +02:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands Use full refname instead of short to prevent disambiguation with tag 2025-06-04 20:43:01 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Replace literal with ConfigFilename constant 2025-05-31 02:28:39 +02:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix wrong inactive highlight when switching between repos 2025-06-05 12:58:38 +02:00
i18n Print default option when prompting to create a new git repo 2025-06-04 08:15:21 +02:00
integration Add integration test for resetting to upstream branch with duplicate name 2025-06-04 20:43:01 +02:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Fix race condition when starting several command tasks in quick succession 2025-04-27 10:48:43 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Make RenameYamlKey return a bool 2025-05-21 08:51:24 +02:00