1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-08 04:04:22 +02:00
lazygit/pkg
Jesse Duffield 54bd94ad24 Add SetSelection function for list contexts and use it in most places
The only time we should call SetSelectedLineIdx is when we are happy for a
select range to be retained which means things like moving the selected line
index to top top/bottom or up/down a page as the user navigates.

But in every other case we should now call SetSelection because that will
set the selected index and cancel the range which is almost always what we
want.
2024-01-19 10:47:21 +11:00
..
app Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
cheatsheet Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
commands Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
constants
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes
gui Add SetSelection function for list contexts and use it in most places 2024-01-19 10:47:21 +11:00
i18n Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
integration Clear range select upon pressing 'escape' 2024-01-19 10:47:21 +11:00
jsonschema Add UserConfig jsonschema generation script 2023-12-02 10:46:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00