terminalModeSetRaw

Creates new termios and unbuffers stdout. Required for kbhit and getch DO NOT USE IF YOU DON'T KNOW WHAT YOU'RE DOING

Note that in raw mode CRLF (\r\n) newline will be required instead of normal LF (\n)

void
terminalModeSetRaw
(
bool removeStdoutBuffer = true
)

Parameters

removeStdoutBuffer bool

Sets stdout buffer to null allowing immediate render without flush()

Meta