Change in hud. And determine if stdin is not tty to read from it