text-formatter: assume that IsTerminal doesn't change during execution

Fixes #57.

r: @Sirupsen