Thanks for the buffering suggestion, @smilexfo and @xenobas . Found out about something called "Double Buffering". Also used ANSI escape codes to move the cursor back to the top of the buffer so I can simply overwrite the current data instead of clearing the screen. Looks so much better already.