Support for TotalTerminal

Fixes #12