Added xterm support
Merge pull request #25 from casidiablo/xterm

Added xterm support