commit | a4e43a77d85c32b69576fed7944a39b184a6fad4 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Sat May 06 16:58:26 2017 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Mon May 15 15:24:10 2017 -0700 |
tree | 68cb6f7b9f6f7e04f46f778fe22e35ced965db98 | |
parent | 02f3add3a33ce563fb1172923ca0b5321f0edce1 [diff] [blame] |
Improve multiproduct_kati output It now uses the same output style as ninja, overwriting status lines in smart terminals. Test: multiproduct_kati Test: multiproduct_kati | cat Change-Id: I8db5198ffdc5ebc5503241ac492379753d92978e
diff --git a/ui/build/context.go b/ui/build/context.go index f85bb6c..52a337d 100644 --- a/ui/build/context.go +++ b/ui/build/context.go
@@ -102,3 +102,7 @@ } return false } + +func (c ContextImpl) TermWidth() (int, bool) { + return termWidth(c.Stdout()) +}