mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
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:
committed by
GitHub
parent
24406a5ae8
commit
147943837d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user