mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-25 18:30:31 +00:00
Properly show end of line selection
This commit is contained in:
parent
0165c4a40a
commit
37ad137012
1 changed files with 1 additions and 1 deletions
|
|
@ -863,7 +863,7 @@ func (v *View) DisplayView() {
|
|||
screen.ShowCursor(lastX, yOffset+lastChar.visualLoc.Y)
|
||||
cx, cy = lastX, yOffset+lastChar.visualLoc.Y
|
||||
}
|
||||
realLoc = Loc{lastChar.realLoc.X, realLineN}
|
||||
realLoc = Loc{lastChar.realLoc.X + 1, realLineN}
|
||||
visualLoc = Loc{lastX - xOffset, lastChar.visualLoc.Y}
|
||||
} else if len(line) == 0 {
|
||||
if tabs[curTab].CurView == v.Num && !v.Cursor.HasSelection() &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue