summaryrefslogtreecommitdiff
path: root/ui/status/status.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2019-01-02 12:50:49 -0800
committer Dan Willemsen <dwillemsen@google.com> 2019-01-02 12:50:49 -0800
commit7f30c076d5fce0dd969537809d8d91797fc9c197 (patch)
treeb4bd858a3f4332953cc5028929394224f9ce6f58 /ui/status/status.go
parent186c771cb4d0ba556ab0051c6d44e502926f614e (diff)
Print a status message when starting ninja
This way we don't appear hung at: No need to regenerate ninja file Change-Id: I8dbdaa2c1b1c5a6a73187d0e6061f363b62e10c9 Fixes: 122251150 Test: m nothing
Diffstat (limited to 'ui/status/status.go')
-rw-r--r--ui/status/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/status/status.go b/ui/status/status.go
index c851d7f59..46ec72e80 100644
--- a/ui/status/status.go
+++ b/ui/status/status.go
@@ -260,6 +260,10 @@ func (s *Status) message(level MsgLevel, msg string) {
}
}
+func (s *Status) Status(msg string) {
+ s.message(StatusLvl, msg)
+}
+
type toolStatus struct {
status *Status