Files
opentf/command
Martin Atkins d2c3403ab6 command: Use the new terminal.Streams object
Here we propagate in the initialized terminal.Streams from package main,
and then onwards to backends running in CLI mode.

This also replaces our use of helper/wrappedstreams to determine whether
stdin is a terminal or a pipe. helper/wrappedstreams returns incorrect
file descriptors on Windows, causing StdinPiped to always return false on
that platform and thus causing one of the odd behaviors discussed in

Finally, this includes some wrappers around the ability to look up the
number of columns in the terminal in preparation for use elsewhere. These
wrappers deal with the fact that our unit tests typically won't populate
meta.Streams.
2021-01-13 15:37:04 -08:00
..
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2015-04-29 13:07:13 -05:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-07 11:00:06 -04:00
2019-07-18 16:11:41 -04:00
2020-12-02 13:59:19 -05:00
2020-12-09 10:10:02 -08:00
2020-12-09 10:10:02 -08:00
2021-01-12 17:47:55 -05:00
2020-10-08 08:42:16 -04:00
2018-10-16 18:24:47 -07:00
2021-01-12 17:47:55 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00