Fix deprecation warnings about tty_cols()
Define tty_size() for backwards compatibility
Merge pull request #10 from tlycken/fix-deprecation-warnings

Fix deprecation warnings about tty_cols()