mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 06:40:24 +09:00
The callback passed to UpdateDiff() is superfluous: in the synchronous case screen.Redraw() is not needed anyway (since the screen is redrawn at every iteration of the main loop), and in the asynchronous case UpdateDiff() can just call screen.Redraw() directly.