Spoiler
I am coding a OS atm and the os has a topbar you click and it slides down nice and smooth. Now, when it slides down it has to reprint everything because if you don't, it starts to have a sorta, drag effect. As it slides down, it has to clear the terminal, print the background, print the topbar, and then print icons and basically, it starts flickering. Just wondering how someone would achieve a non-flicker on something like this.
EDIT: Edited code to show a bit better what I am having a problem with.












