Skip to content

Draw the UI in a more inactive look when the window is not focused - #5935

Merged
stefanhaller merged 1 commit into
masterfrom
draw-ui-inactive-in-unfocused-window
Aug 15, 2026
Merged

stefanhaller merged 1 commit into
masterfrom
draw-ui-inactive-in-unfocused-window

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

When using lazygit in a multi-tab terminal it is useful to see if the lazygit tab is currently active; ghostty does a very good job at dimming down the inactive tabs, but VS Code's builtin terminal does not, so indicate this on our side by removing the green highlight from panel frames and tab titles, and showing the selection as inactive like we do for a side panel when the main view is focused.

When using lazygit in a multi-tab terminal it is useful to see if the
lazygit tab is currently active; ghostty does a very good job at dimming
down the inactive tabs, but VS Code's builtin terminal does not, so
indicate this on our side by removing the green highlight from panel
frames and tab titles, and showing the selection as inactive like we do
for a side panel when the main view is focused.
@stefanhaller stefanhaller added the enhancement New feature or request label Aug 15, 2026
@stefanhaller
stefanhaller merged commit a1f1a4e into master Aug 15, 2026
15 checks passed
@stefanhaller
stefanhaller deleted the draw-ui-inactive-in-unfocused-window branch August 15, 2026 10:39
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
lazygit 0.65.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre><!-- Release notes generated using configuration in .github/release.yml at v0.65.0 -->

## What's Changed
### Enhancements 🔥
* Draw the UI in a more inactive look when the window is not focused by @stefanhaller in jesseduffield/lazygit#5935
* Keep the last conflict file selected after resolution by @stefanhaller in jesseduffield/lazygit#5936
* Auto-select the conflicted commit when stopping in rebase by @stefanhaller in jesseduffield/lazygit#5937
* Keep showing files whose conflicts have been resolved by @stefanhaller in jesseduffield/lazygit#5940
* Allow filtering worktrees by branch name in Worktrees pane by @stefanhaller in jesseduffield/lazygit#5980
* Allow filtering the keybindings and recent repos menus more directly (simply by typing) by @stefanhaller in jesseduffield/lazygit#5985
### Fixes 🔧
* Scroll the selection into view by default again by @stefanhaller in jesseduffield/lazygit#5928
* Disable staging all files when there are none to stage by @stefanhaller in jesseduffield/lazygit#5932
* Fix flicker, scroll glitches, and crashes in async diff rendering by @stefanhaller in jesseduffield/lazygit#5938
* Show renames when selecting a directory that a file was moved into or out of by @stefanhaller in jesseduffield/lazygit#5924
* Fix visual glitches when moving a rebase todo by @stefanhaller in jesseduffield/lazygit#5977
* Validate the context names in the "context" field of custom commands by @stefanhaller in jesseduffield/lazygit#5989
* Fix some obscure selection highlighting bugs by @stefanhaller in jesseduffield/lazygit#5990
* Re-render the focused main view if its content changes while it is being searched by @stefanhaller in jesseduffield/lazygit#5993
### Maintenance ⚙️
* Bump gofumpt to version 0.11.0 by @stefanhaller in jesseduffield/lazygit#5925
* Avoid gofumpt'ing other worktrees by @stefanhaller in jesseduffield/lazygit#5931
* Two small improvements to the debug log by @stefanhaller in jesseduffield/lazygit#5933
* Bump golangci-lint to v2.12.2 by @stefanhaller in jesseduffield/lazygit#5941
* Bump github.com/xo/terminfo from 0.0.0-20220910002029-abceb7e1c41e to 1.0.0 by @dependabot[bot] in jesseduffield/lazygit#5950
* Bump github.com/stretchr/testify from 1.11.1 to 1.12.1 by @dependabot[bot] in jesseduffield/lazygit#5968
* Bump github.com/gdamore/tcell/v3 from 3.4.1 to 3.4.2 by @dependabot[bot] in jesseduffield/lazygit#5970
* Bump github.com/sirupsen/logrus from 1.9.4 to 1.10.2 by @dependabot[bot] in jesseduffield/lazygit#5987
### Docs 📖
* Fix example for args field in rawGit diff renderer docs by @stefanhaller in jesseduffield/lazygit#5927
### I18n 🌎
* Update translations from Crowdin by @stefanhaller in jesseduffield/lazygit#5994
### Performance Improvements 📊
* Improve startup time by @stefanhaller in jesseduffield/lazygit#5934
* Improve performance of moving rebase todos by @stefanhaller in jesseduffield/lazygit#5978


**Full Changelog**: jesseduffield/lazygit@v0.64.1...v0.65.0

</pre>
  <p>View the full release notes at <a href="https://github.com/jesseduffield/lazygit/releases/tag/v0.65.0">https://github.com/jesseduffield/lazygit/releases/tag/v0.65.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!18514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant