Terminal flickers on successive screen updates
Created by: jmacdonald
Under two different terminal emulators, with two different termion-based text editors, I'm seeing flickering when updating the screen quickly:
Here's the editor I'm working on, running in Alacritty:
and here's the Smith text editor, in the default OS X terminal:
If I avoid using the
clear::All escape sequence, and simply overwrite cells with new content, this problem goes away. This flickering isn't present when using termbox; I think they've avoided this by buffering screen output, and having
clear reset the buffer contents, rather than delegating to the terminal using an escape sequence. Any plans to implement that, or does it feel too high-level/abstract for Termion?