Skip to content

Conversation

@stefanhaller
Copy link
Collaborator

@stefanhaller stefanhaller commented Jan 3, 2026

When searching (not filtering) in a list view using /, moving the selection now updates the "x of y" indicator of the search results to the last one before the selection. Pressing n again searches from there rather than from the previously shown result.

Also see corresponding gocui PR at jesseduffield/gocui#95.

@codacy-production
Copy link

codacy-production bot commented Jan 3, 2026

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for a0e81c91 98.31%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a0e81c9) Report Missing Report Missing Report Missing
Head commit (65edd99) 59415 51742 87.09%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5169) 59 58 98.31%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  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.

@stefanhaller stefanhaller force-pushed the set-search-x-of-y-when-changing-list-selection branch from 418dae0 to a284e32 Compare January 4, 2026 11:20
@stefanhaller stefanhaller added the enhancement New feature or request label Jan 4, 2026
@stefanhaller stefanhaller force-pushed the set-search-x-of-y-when-changing-list-selection branch from a284e32 to 516f7f6 Compare January 4, 2026 11:48
@stefanhaller stefanhaller force-pushed the set-search-x-of-y-when-changing-list-selection branch from 516f7f6 to 65edd99 Compare January 4, 2026 17:51
@stefanhaller stefanhaller marked this pull request as ready for review January 4, 2026 17:53
@stefanhaller stefanhaller merged commit 80dd695 into master Jan 4, 2026
13 checks passed
@stefanhaller stefanhaller deleted the set-search-x-of-y-when-changing-list-selection branch January 4, 2026 17:54
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 13, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [jesseduffield/lazygit](https://github.com/jesseduffield/lazygit) | patch | `v0.58.0` → `v0.58.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>jesseduffield/lazygit (jesseduffield/lazygit)</summary>

### [`v0.58.1`](https://github.com/jesseduffield/lazygit/releases/tag/v0.58.1)

[Compare Source](jesseduffield/lazygit@v0.58.0...v0.58.1)

<!-- Release notes generated using configuration in .github/release.yml at v0.58.1 -->

This is a hotfix release that fixes the known issues with 0.58.

To expand on this a bit: in 0.58 we updated our TUI library tcell to a new version that made significant under-the-hood changes; this allowed us to fix several rendering issues, mostly related to wide characters like some emojis. Apart from that, there are few user visible changes with this update, but it lays the ground for future enhancements like support for more keybindings.

However, since the changes are so fundamental it also introduced a number of regressions, and I'm not really surprised about that. Most of these were bugs in tcell that have been fixed upstream now, but some were on our side. This release fixes the ones I know about. If you still have issues, please report them!

#### What's Changed

##### Enhancements 🔥

- Update search position (match x of y) when changing the selection in a list view by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5169](jesseduffield/lazygit#5169)

##### Fixes 🔧

- When doing ctrl-f, and the resulting commit is not visible, scroll it into view by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5182](jesseduffield/lazygit#5182)
- Fix pasting multi-line text into the commit description by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5186](jesseduffield/lazygit#5186)
- Fix keypad keys, and pasting emojis in Windows Terminal by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5192](jesseduffield/lazygit#5192)
- Don't log the "git ls-remote" call when opening a MR by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5195](jesseduffield/lazygit#5195)
- Fix rendering artefacts after double-width characters (e.g. "⚠️") on some terminals by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5198](jesseduffield/lazygit#5198)

##### Maintenance ⚙️

- Request info about terminal in issue template by [@&#8203;stefanhaller](https://github.com/stefanhaller) in [#&#8203;5194](jesseduffield/lazygit#5194)

**Full Changelog**: <jesseduffield/lazygit@v0.58.0...v0.58.1>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43OC4yIiwidXBkYXRlZEluVmVyIjoiNDIuNzguMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
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.

2 participants