Re:Why Does Windows Use Backslash as Path Separator?
by Const-me on Wednesday April 24, 2024 @11:14PM
(#40152979)
Cursor placement is hard to do portably because every OS has incompatible ways for that. You gonna need SetConsoleCursorPosition on Windows, and multiple versions of these terminal escape codes on Linux.
printf( "\rsomething " ) is much easier.