1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-30 23:57:43 +02:00
Files
lazygit/pkg/gui
Jesse Duffield 51fb82d6bf Enforce single-item selection in various actions
We want to show an error when the user tries to invoke an action that expects only
a single item to be selected.

We're using the GetDisabledReason field to enforce this (as well as DisabledReason
on menu items).

I've created a ListControllerTrait to store some shared convenience functions for this.
2024-01-19 10:50:49 +11:00
..
2024-01-14 17:45:35 +01:00
2023-06-01 20:12:20 +10:00
2023-04-30 13:19:53 +10:00
2023-07-31 22:33:04 +10:00
2021-09-16 21:38:43 +08:00
2024-01-14 17:45:35 +01:00