Commit Graph

14 Commits

Author SHA1 Message Date
David Bariod 98c898cc2d Fix gopherjs build constraint name 2018-09-16 10:14:59 +02:00
Felix Kollmann 2f58bc83cb Unified terminal initialization code handling 2018-04-03 04:55:52 +02:00
Felix Kollmann cf5eba7dfd Simplified file structure 2018-04-03 04:47:29 +02:00
dmathieu e66f22976f remove os-specific IsTerminal methods, and use x/crypto/ssh/terminal instead 2017-07-27 15:26:52 +02:00
dmathieu 8a90bf3fff use x/sys for non-unix files 2017-07-26 10:51:31 +02:00
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