safe_quit on ^D
Merge branch 'master' of https://github.com/vysheng/tg
Merge pull request #273 from burunduk3/master

exit on ctrl+D