Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Explaining that TTY support is automatically detected now

  • Loading branch information...
commit 9337ab31fd396ca185b31a04e692c318c7ad1bad 1 parent c6570dc
@TrevorBurnham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.mdown
2  README.mdown
@@ -45,7 +45,7 @@ For a complete list of every function/tag name in sty, run (`coffee
### Disabling Sty
-Weird output will result if the environment doesn't support TTY (e.g. if you're looking at output in TextMate). Unfortunately, there's no way for Sty to determine that right now (it will do so if Node supports the `process.isTTY` method—a proposed addition), but you can manually use `sty.disable()` to turn it off.
+Sty automatically disables fancy output when the console doesn't support it (that is, when Node's `tty.isatty(process.stdout)` is `false`). You can also manually use `sty.disable()` and `sty.enable()` to switch styling on/off.
### License and credits

0 comments on commit 9337ab3

Please sign in to comment.
Something went wrong with that request. Please try again.