jesseduffield.lazygit/pkg/gui/types
Jesse Duffield 24a4302c52 Add range selection ability on list contexts
This adds range select ability in two ways:
1) Sticky: like what we already have with the staging view i.e. press v then use arrow keys
2) Non-sticky: where you just use shift+up/down to expand the range

The state machine works like this:
(no range, press 'v') -> sticky range
(no range, press arrow) -> no range
(no range, press shift+arrow) -> nonsticky range
(sticky range, press 'v') -> no range
(sticky range, press arrow) -> sticky range
(sticky range, press shift+arrow) -> nonsticky range
(nonsticky range, press 'v') -> no range
(nonsticky range, press arrow) -> no range
(nonsticky range, press shift+arrow) -> nonsticky range
2024-01-19 10:47:21 +11:00
..
common.go Allow showing Disabled errors as error panel instead of toast 2024-01-14 17:45:35 +01:00
common_commands.go start moving commit panel handlers into controller 2022-03-17 19:13:40 +11:00
context.go Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
keybindings.go Make DisabledReason a struct 2024-01-14 17:45:35 +01:00
modes.go Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
ref.go fix: fix ambiguous refname 2022-05-13 21:05:51 +09:00
refresh.go Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00
rendering.go Visualize the "ignore whitespace" state in the subtitle of the diff view 2023-05-20 12:58:32 +10:00
search_state.go Add search history 2023-09-20 08:35:41 +03:00
suggestion.go support labels for suggestions which are distinct from values 2020-11-28 20:48:17 +11:00
views.go Layout the bottom line view using spacer views 2023-12-09 11:18:28 +01:00