Skip to main content

Module tty

Module tty 

Source

Functions§

is_interactive
Returns true when stdin is a terminal (interactive), false otherwise (e.g. a pipe or redirected file – the common CI case).