cursor: Remove selection reduction by one character on Deselect()

This commit is contained in:
Jöran Karl
2024-11-30 15:25:14 +01:00
parent aaf45a871f
commit 50639015d7
2 changed files with 1 additions and 2 deletions

View File

@@ -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()