cpp-terminal icon indicating copy to clipboard operation
cpp-terminal copied to clipboard

Implement more efficient `render` algorithm

Open certik opened this issue 4 years ago • 0 comments

Currently the render method always prints the whole Window from scratch.

Instead, we should add an optional argument Window &old_window which would represent the current state of the screen and render would do an efficient diff against it and only update things that changed (characters and colors).

This should be done after #69 is fixed, as that issue will extend how colors are represented in Window.

certik avatar Feb 12 '21 17:02 certik