erikrose/blessings — Issue #5: Optionally ignore tty check
Author: jsocol
Created: 2011-11-07 23:22:42+00:00
State: open

It would be great if a kwarg could skip the tty check. Some pipes can still handle output formatting (notably `less -r` or `-R`), so if I wrote a CLI program using blessings to, say, color output, and I wanted to make it possible to pipe that output to `less` in a nice Unixy way, I might add a CL option that I could later pass into the `Terminal()` constructor, e.g.:

```python
if __name__ == '__main__':
(opts, args) = parser.parse_args()
term = Terminal(ignore_tty=opts.R)
main(term)
```