mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Disable range-select in menu and suggestions view
We don't need it there so no need to enable it. I'm leaving the disabled reason checks there, even though they're now redundant, because they're only one-liners and they communicate intent.
This commit is contained in:
@ -195,3 +195,8 @@ func (self *MenuContext) OnMenuPress(selectedItem *types.MenuItem) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// There is currently no need to use range-select in a menu so we're disabling it.
|
||||
func (self *MenuContext) RangeSelectEnabled() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user