Only display rolling output on tty terminals

Test: atest unittest
Change-Id: I9f0c77f2df1230130e2fdc45ede7ddc82cfd7e48
3 files changed