Module erg_common::tty
source · [−]Expand description
Copied and modified from the crossterm. Making it a little more convenient and safe to query whether something is a terminal teletype or not. This module defines the IsTty trait and the is_tty method to return true if the item represents a terminal.
Traits
Adds the
is_tty
method to types that might represent a terminal