Closed walles closed 3 years ago
Using this: https://github.com/gdamore/tcell/issues/422
I did some profiling, and my terminal app is maxing out the CPU while I'm scrolling.
If I could not update the screen when there are pending events, that would improve things. I have experimented and it was nice!
Ref: https://github.com/walles/moar/blob/db4acb57ef8b455ab3293e1b7e9e7c27d8688e97/m/pager.go#L781-L782
Using this: https://github.com/gdamore/tcell/issues/422
I did some profiling, and my terminal app is maxing out the CPU while I'm scrolling.
If I could not update the screen when there are pending events, that would improve things. I have experimented and it was nice!
Ref: https://github.com/walles/moar/blob/db4acb57ef8b455ab3293e1b7e9e7c27d8688e97/m/pager.go#L781-L782