/* GetConsoleMode appears to fail when it's not a TTY. In
particular, it's what most of our terminal functions
assume works, so if it doesn't work for all intents
/* GetConsoleMode appears to fail when it's not a TTY. In
particular, it's what most of our terminal functions
assume works, so if it doesn't work for all intents