# Functions

IsSmartTerminal returns true if the writer w is a terminal AND we think that the terminal is smart enough to use VT escape codes etc.
IsTerminal returns true if the writer w is a terminal.