Previously `CursorDown` function called `Deselect` with a wrong argument which lead to the situation when cursor was moved to the start instead of the end of the selection Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
This commit is contained in:
parent
24406a5ae8
commit
147943837d
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ func (h *BufPane) CursorUp() bool {
|
|||
|
||||
// CursorDown moves the cursor down
|
||||
func (h *BufPane) CursorDown() bool {
|
||||
h.Cursor.Deselect(true)
|
||||
h.Cursor.Deselect(false)
|
||||
h.MoveCursorDown(1)
|
||||
h.Relocate()
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue