jesseduffield.lazygit/pkg
Stefan Haller e5dd4d3110 Allow the selected line of a list view to be outside the visible area
I don't see a reason why this restriction to have the selection be always
visible was necessary. Removing it has two benefits:

1. Scrolling a list view doesn't change the selection. A common scenario: you
   look at one of the commits of your current branch; you want to see the how
   many'th commit this is, but the beginning of the branch is scrolled off the
   bottom of the commits panel. You scroll down to find the beginning of your
   branch, but this changes the selection and shows a different commit now - not
   what you want.

2. It is possible to scroll a panel that is not the current one without changing
   the focus to it. That's how windows in other GUIs usually behave.
2023-05-11 13:23:58 +02:00
..
app merge master into refactor-better-encapsulation 2023-05-02 19:05:42 +10:00
cheatsheet Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
commands chore(git_commands): support old git version (git rebase --empty=keep) 2023-05-02 16:27:32 +02:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config add comment to encourage keeping code and docs in sync 2023-05-04 16:53:13 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Allow the selected line of a list view to be outside the visible area 2023-05-11 13:23:58 +02:00
i18n Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
integration Extend one of the filtering tests to start on a commit other than the first 2023-05-11 13:23:58 +02:00
logs clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
secureexec Format code to pass lint 2021-09-16 21:38:43 +08:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks prevent unnecessary re-renders of view 2023-04-02 15:44:05 +10:00
theme Fix setting gui.selectedRangeBgColor as a hex value 2023-03-03 08:46:43 +01:00
updates Begin refactoring gui 2023-04-30 13:19:52 +10:00
utils add ability to update yaml path while preserving comments 2023-05-10 22:31:27 +10:00