PTY ending with 'exit' event instead of 'end'
Merge pull request #6 from naholyr/patch-1

PTY ending with 'exit' event instead of 'end'