Bug #14
verify console is tty before enabling color
| Status: | Assigned | Start: | 11/10/2007 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Paul Duncan | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.1.2 |
Description
Email from Ryan King on 2007-11-10:
Subject: Wirble.colorize if $stdout.tty? You might want to make the recommended ~/.irbrc line the above, that way you +don't get ANSI escapes in murky places. For example, in vim, many times I'll have some self-contained expression and use +!!irb to evaluate it and see the result. After I installed wirble I got ANSI +escapes, but then I put the "if $stdout.tty?" in, and it's back to normal.
History
Updated by Paul Duncan over 3 years ago
- Status changed from New to Assigned