mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Cleanup: move SetLineSelectMode into AdjustSelectedLineIdx
This commit is contained in:
parent
a37a3fc4a1
commit
56a6ee6afb
2 changed files with 1 additions and 2 deletions
|
@ -239,6 +239,7 @@ func (s *State) CurrentLineNumber() int {
|
|||
}
|
||||
|
||||
func (s *State) AdjustSelectedLineIdx(change int) {
|
||||
s.SetLineSelectMode()
|
||||
s.SelectLine(s.selectedLineIdx + change)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue