cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.75k stars 176 forks source link

Write over instead of clearing to avoid flicker #336

Closed jtschuster closed 1 year ago

jtschuster commented 1 year ago

When clearing the entire screen every key press, the header sometimes flickers as the terminal processes the clear before the next write. Instead, write over the last frame, and only clear when needed.

cantino commented 1 year ago

Seems to work, thanks @jtschuster