是否有Linux控制檯(/終端),用於這些功能WinAPI的當量:Linux控制檯操縱功能
GetConsoleScreenBufferInfo // for getting cursor position
SetConsoleCursorPosition // for setting cursor position
SetConsoleWindowInfo // for resizing console window or hiding cursor
ReadConsoleOutputCharacter // for reading the character at some position
ReadConsoleOutputAttribute // for reading color info of the character at some position
WriteConsoleOutputAttribute // for changing color info of the character at some position
?
您需要一個終端庫。標準選擇是'ncurses'。 –