cpp-terminal
cpp-terminal copied to clipboard
Implement more efficient `render` algorithm
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
.