Basically, I wrote a game in C which works great in windows CMD but buffering in Linux Terminal this issue is solved using \33[0;4H printed at the beginning of each print to set it to the top and erase what was printed using insert mode (equivalent to $ printf '\e[0;4H'), but in VSCode CMD on Windows it's not working...