mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
@@ -23,6 +23,8 @@ func (h *BufPane) ScrollUp(n int) {
|
|||||||
if v.StartLine >= n {
|
if v.StartLine >= n {
|
||||||
v.StartLine -= n
|
v.StartLine -= n
|
||||||
h.SetView(v)
|
h.SetView(v)
|
||||||
|
} else {
|
||||||
|
v.StartLine = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user