ref: refs/heads/master
commit ce55c0263d24d3af4165271020cb352d6cdbf532
Author: Ján Kupec
Date: Tue Mar 31 23:54:26 2009 +0200
Show status and messages in COLOR_STATUS.
- this aims to distinguish these from 'result' messages
(can be e.g. printed in fainter color).
- these are the messages that would be hidden in --quiet mode
- will need more cleanup to make the coloring consistent
- some messages are not printed via zypper.out().info()
- some messages can be moved from/to --quiet to/from normal out
---
src/output/OutNormal.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/output/OutNormal.cc b/src/output/OutNormal.cc
index 7468ddd..bf0c3ce 100644
--- a/src/output/OutNormal.cc
+++ b/src/output/OutNormal.cc
@@ -61,7 +61,7 @@ void OutNormal::info(const std::string & msg, Verbosity verbosity, Type mask)
if (verbosity == Out::QUIET)
print_color(msg, COLOR_CONTEXT_RESULT);
else
- cout << msg;
+ print_color(msg, COLOR_CONTEXT_MSG_STATUS);
cout << endl;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org