updated terminal support

* Now works properly with `TERM=xterm-256color`