# Functions
GetTerminalWidth tries to figure out the width of the terminal and returns it returns 0 if there are problems in getting the width.
IsStderrTerminal returns true if the terminal is stderr.
IsStdoutTerminal returns true if the terminal is stdout.
NewResizeListener creates a new ResizeListener.
# Structs
ResizeListener calls given callback function when terminal window is resized.