1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/vendor/golang.org/x
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
..
crypto Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
exp update linters 2022-03-19 12:12:57 +11:00
net Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 2023-03-19 04:42:38 +00:00
sys Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
term Bump gocui 2023-12-09 15:23:40 +01:00
text Bump gocui 2023-12-09 15:23:40 +01:00