jesseduffield.lazygit/pkg
Stefan Haller efd4298b5e Avoid scrolling the selection into view on refresh
It is possible to scroll the selection out of view using the mouse wheel; after
doing this, it would sometimes scroll into view by itself again, for example
when a background fetch occurred. In the files panel this would even happen
every 10s with every regular files refresh.

Fix this by adding a scrollIntoView parameter to HandleFocus, which is false by
default, and is only set to true from controllers that change the selection.
2025-12-23 15:34:38 +01:00
..
app Show a better error message if the temp directory is not writeable 2025-10-16 10:04:47 +02:00
cheatsheet refactor: use strings.Builder and strings.Repeat to simplify code 2025-12-03 18:34:21 +01:00
commands feat: add Codeberg as a supported git hosting service 2025-12-21 14:10:59 +01:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config feat: support custom keybinds in custom command prompt menus 2025-12-22 13:43:52 +01:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gui Avoid scrolling the selection into view on refresh 2025-12-23 15:34:38 +01:00
i18n Add a missing quote 2025-12-11 21:10:11 +01:00
integration Avoid scrolling the selection into view on refresh 2025-12-23 15:34:38 +01:00
jsonschema Modernize all codes 2025-11-15 10:46:23 +01:00
logs Clean up build tags 2025-08-14 20:40:44 +02:00
snake Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
tasks Modernize all codes 2025-11-15 10:46:23 +01: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 Modernize all codes 2025-11-15 10:46:23 +01:00