]> git.lizzy.rs Git - micro.git/blobdiff - cmd/micro/cursor.go
Fix windows binary links
[micro.git] / cmd / micro / cursor.go
index cf66544ec09efcbaebed50385ef74448af221e49..b60f466e9bb7b6798fe7c5b2465f21b5ffa624f5 100644 (file)
@@ -110,7 +110,7 @@ func (c *Cursor) SelectLine() {
        c.Start()
        c.curSelection[0] = c.Loc()
        c.End()
-       c.curSelection[1] = c.Loc()
+       c.curSelection[1] = c.Loc() + 1
 
        c.origSelection = c.curSelection
 }