lazygit/pkg
Stefan Haller f0b49eba71 Press enter in main view of files/commitFiles to enter staging/patch-building
This was already possible, but only when a file was selected, and it woudln't
always land on the right line when a pager was used. Now it's also possible to
do this for directories, and it jumps to the right line.

At the moment this is a hack that relies on delta's hyperlinks, so it only works
on lines that have hyperlinks (added and context).

The implementation is very hacky for other reasons too (e.g. the addition of the
weirdly named ClickedViewRealLineIdx to OnFocusOpts).
2025-04-29 11:37:53 +02:00
..
app Remove unused cherry-picking code in daemon 2025-04-20 15:59:48 +02:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands Press enter in main view of files/commitFiles to enter staging/patch-building 2025-04-29 11:37:53 +02:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Add user config gui.showSelectionInFocusedMainView 2025-04-29 11:37:53 +02:00
constants
env
fakes
gui Press enter in main view of files/commitFiles to enter staging/patch-building 2025-04-29 11:37:53 +02:00
i18n Press enter in focused main view when user config is on 2025-04-29 11:37:53 +02:00
integration Remove space after rebase todo 2025-04-29 11:30:37 +02:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs
snake
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 Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00