mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Add more performance and memory optimizations
This commit is contained in:
@@ -186,4 +186,8 @@ func (c *CellView) Draw(buf *Buffer, top, height, left, width int) {
|
||||
viewLine++
|
||||
lineN++
|
||||
}
|
||||
|
||||
for i := top; i < top+height; i++ {
|
||||
buf.SetMatch(i, nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user