mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-26 02:17:05 +09:00
cursor: Remove selection reduction by one character on Deselect()
This commit is contained in:
@@ -193,7 +193,7 @@ func (c *Cursor) Deselect(start bool) {
|
||||
if start {
|
||||
c.Loc = c.CurSelection[0]
|
||||
} else {
|
||||
c.Loc = c.CurSelection[1].Move(-1, c.buf)
|
||||
c.Loc = c.CurSelection[1]
|
||||
}
|
||||
c.ResetSelection()
|
||||
c.StoreVisualX()
|
||||
|
||||
Reference in New Issue
Block a user