Hacker News new | ask | show | jobs
by kazinator 237 days ago
Maybe if it weren't for the above ranting, POSIX wouldn't have gotten its shit together to clean up the terminal situation and come up with the <termios.h> stuff.

Today I have a way of using <termios.h> stuff to even control the Windows cmd.exe console.

It's the most portable thing there is for getting clean character-at-a-time input, with Ctrl-D and everything.