Implement tty
Merge pull request #59 from alan-andrade/tty

Implement tty