jesseduffield / lazygit

simple terminal UI for git commands
MIT License
47.94k stars 1.72k forks source link

Turn off the highlight of the suggestions panel when it loses focus #3696

Closed stefanhaller closed 3 days ago

stefanhaller commented 4 days ago

The highlight is normally turned off in HandleFocusLost, but that's not called when using ReplaceContext (and changing this would be a lot of work, it seems), so turn it off manually for now.

For a moment I considered whether we want to show the new inactive highlight when switching from suggestions to the prompt (actually this did happen on master), but I decided against it for several reasons:

codacy-production[bot] commented 4 days ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 696b8ba457915baea6e3ac73f22c8b994624048b[^1] :white_check_mark: 100.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (696b8ba457915baea6e3ac73f22c8b994624048b) | Report Missing | Report Missing | Report Missing | | | Head commit (9b73b68f95399e90da501a0be9d751c7d893a413) | 48707 | 41613 | 85.44% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3696) | 6 | 6 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.