mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-19 07:15:34 -04:00
parent
087e7207f7
commit
cc994b6241
@ -396,6 +396,7 @@ func (h *BufPane) CursorStart() bool {
|
|||||||
h.Cursor.Deselect(true)
|
h.Cursor.Deselect(true)
|
||||||
h.Cursor.X = 0
|
h.Cursor.X = 0
|
||||||
h.Cursor.Y = 0
|
h.Cursor.Y = 0
|
||||||
|
h.Cursor.StoreVisualX()
|
||||||
h.Relocate()
|
h.Relocate()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -136,9 +136,6 @@ func (w *BufWindow) Relocate() bool {
|
|||||||
if w.drawStatus {
|
if w.drawStatus {
|
||||||
h--
|
h--
|
||||||
}
|
}
|
||||||
if b.LinesNum() <= h {
|
|
||||||
height = w.Height
|
|
||||||
}
|
|
||||||
ret := false
|
ret := false
|
||||||
activeC := w.Buf.GetActiveCursor()
|
activeC := w.Buf.GetActiveCursor()
|
||||||
cy := activeC.Y
|
cy := activeC.Y
|
||||||
|
Loading…
Reference in New Issue
Block a user