mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Implement lastX for cursor movement
This commit is contained in:
@@ -330,6 +330,7 @@ func (v *View) MoveToMouseClick(x, y int) {
|
||||
}
|
||||
v.cursor.x = x
|
||||
v.cursor.y = y
|
||||
v.cursor.lastVisualX = v.cursor.GetVisualX()
|
||||
}
|
||||
|
||||
// HandleEvent handles an event passed by the main loop
|
||||
|
||||
Reference in New Issue
Block a user