mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
Once in hunk mode, clicking another change line reset the selection to a single line, so you had to press `a` again for each block you wanted to stage (a behaviour the main view inherited from the staging and patch- building panels). Preserve hunk mode across clicks instead: a click on a change line re-selects that whole block, while a click on context — or any click when we weren't in hunk mode — drops to a single line, where the click points precisely (e.g. to edit it). The two click handlers shared an identical selection body, so unify them into one helper and make the change in a single place. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||