Commit Graph

9 Commits

Author SHA1 Message Date
Henrique Dias 532c891a89 Update terminal_windows.go 2017-05-12 22:28:26 +01:00
Henrique Dias 3454d74a4c Enable ANSI colors on Windows 10 and newer 2017-05-12 12:12:49 +01:00
Darren McCleary 6b682c5933 More import fixes 2017-02-13 10:56:35 -05:00
Majid Arif Siddiqui 5c8f1691bc Fixed missing imports for windows terminal 2017-02-07 11:28:14 +08:00
Simon Eskildsen 1726e1744a text_formatter: detect tty based on fd 2017-02-06 19:16:49 -05:00
Shintaro Kaneko dfb0e1d797 terminal: Include appengine tag to compile for GAE 2016-04-02 05:06:31 +00:00
Daniel Wagner-Hall 05f9567ba3 Detect TTY based on stderr, not stdout
We actually write to stderr by default, so:

bin >/dev/null

currently weirdly prints non-colorized output, whereas:

bin 2>log

weirdly prints colorized output to a file.
2015-12-03 12:58:31 +00:00
Evan Huus 7093f67073 go fmt 2014-06-09 16:27:33 -04:00
Rob Napier d32bfc962c Add Windows/FreeBSD support 2014-04-23 19:38:56 -04:00