Linux - moving the console cursor visual
问题 I'm currently designing a CLI interface for linux, and for various reasons I am not able to use ncurses . I am using exclusively C++ and the Qt framework. Therefore, in order to have a user-friendly interface, I have to run this getch loop in a separate thread: https://stackoverflow.com/a/912796/3605689 Which basically means I have to implement all basic functionalities (such as backspace) by myself. I have already implemented command completion and command history(like when you press tab or