jesseduffield.lazygit/pkg/gui/controllers
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
..
helpers Refresh staging panel when committing 2023-04-30 13:19:54 +10:00
attach.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
base_controller.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
basic_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
bisect_controller.go lots of changes 2023-04-30 13:19:53 +10:00
branches_controller.go lots of changes 2023-04-30 13:19:53 +10:00
command_log_controller.go lots of changes 2023-04-30 13:19:53 +10:00
commit_description_controller.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
commit_message_controller.go Retain commit message when cycling history 2023-04-30 13:19:54 +10:00
commits_files_controller.go fix rendering of commit files view 2023-04-30 13:19:53 +10:00
common.go lots of changes 2023-04-30 13:19:53 +10:00
confirmation_controller.go lots of changes 2023-04-30 13:19:53 +10:00
context_lines_controller.go lots of changes 2023-04-30 13:19:53 +10:00
custom_command_action.go move custom command action into its own file 2023-04-30 13:19:53 +10:00
custom_patch_options_menu_action.go move custom patch options menu action to controllers package 2023-04-30 13:19:53 +10:00
diffing_menu_action.go move diffing menu action to controller 2023-04-30 13:19:53 +10:00
files_controller.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
files_remove_controller.go lots of changes 2023-04-30 13:19:53 +10:00
filtering_menu_action.go Allow the selected line of a list view to be outside the visible area 2023-05-11 13:23:58 +02:00
git_flow_controller.go lots of changes 2023-04-30 13:19:53 +10:00
global_controller.go move toggle whitespace action to controllers package 2023-04-30 13:19:53 +10:00
jump_to_side_window_controller.go move side window actions to controllers package 2023-04-30 13:19:53 +10:00
list_controller.go Allow the selected line of a list view to be outside the visible area 2023-05-11 13:23:58 +02:00
local_commits_controller.go merge master into refactor-better-encapsulation 2023-05-02 19:05:42 +10:00
menu_controller.go lots of changes 2023-04-30 13:19:53 +10:00
merge_conflicts_controller.go lots of changes 2023-04-30 13:19:53 +10:00
options_menu_action.go move another action into controller 2023-04-30 13:19:53 +10:00
patch_building_controller.go lots of changes 2023-04-30 13:19:53 +10:00
patch_explorer_controller.go lots of changes 2023-04-30 13:19:53 +10:00
quit_actions.go move quit actions to controller 2023-04-30 13:19:53 +10:00
reflog_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
remote_branches_controller.go lots of changes 2023-04-30 13:19:53 +10:00
remotes_controller.go lots of changes 2023-04-30 13:19:53 +10:00
screen_mode_actions.go move more actions into controller 2023-04-30 13:19:53 +10:00
side_window_controller.go move side window actions to controllers package 2023-04-30 13:19:53 +10:00
snake_controller.go lots of changes 2023-04-30 13:19:53 +10:00
staging_controller.go lots of changes 2023-04-30 13:19:53 +10:00
stash_controller.go Allow the selected line of a list view to be outside the visible area 2023-05-11 13:23:58 +02:00
status_controller.go lots of changes 2023-04-30 13:19:53 +10:00
sub_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
submodules_controller.go lots of changes 2023-04-30 13:19:53 +10:00
suggestions_controller.go lots of changes 2023-04-30 13:19:53 +10:00
switch_to_diff_files_controller.go lots of changes 2023-04-30 13:19:53 +10:00
switch_to_sub_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
sync_controller.go lots of changes 2023-04-30 13:19:53 +10:00
tags_controller.go lots of changes 2023-04-30 13:19:53 +10:00
toggle_whitespace_action.go move toggle whitespace action to controllers package 2023-04-30 13:19:53 +10:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go lots of changes 2023-04-30 13:19:53 +10:00
vertical_scroll_controller.go lots of changes 2023-04-30 13:19:53 +10:00
workspace_reset_controller.go lots of changes 2023-04-30 13:19:53 +10:00