Support range select for staging/discarding files

As part of this, you must now press enter on a merge conflict file
to focus the merge view; you can no longer press space and if you do
it will raise an error.
This commit is contained in:
Jesse Duffield 2024-01-08 18:02:55 +11:00
parent 798225d9e1
commit 269ef7f250
29 changed files with 1232 additions and 756 deletions

View file

@ -41,6 +41,10 @@ func (self *Node[T]) IsFile() bool {
return self.File != nil
}
func (self *Node[T]) GetFile() *T {
return self.File
}
func (self *Node[T]) GetPath() string {
return self.Path
}