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