(#28) Check for a TTY before stdin becomes a pipe.
v0.32
Merge remote-tracking branch 'upstream/master'