From fd49dc153a2ce1bd01957fc4acfed1ab5570a190 Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 29 Aug 2017 13:44:03 +0200 Subject: [PATCH] little graphical things --- users/gsi_dirc/check_tot.cc | 16 ++++++++-------- users/gsi_dirc/check_tot.sh | 5 +++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/users/gsi_dirc/check_tot.cc b/users/gsi_dirc/check_tot.cc index d6b1620..21b63cf 100644 --- a/users/gsi_dirc/check_tot.cc +++ b/users/gsi_dirc/check_tot.cc @@ -48,11 +48,11 @@ int main(int argc, char* argv[]) //cout<=2.0) { - cout<<"\033[1;31m"; + cout<<"\033[5;31m"; cout.precision(1); cout.fill (' '); cout.width(5); @@ -62,7 +62,7 @@ int main(int argc, char* argv[]) } else { - cout<<"\033[1;32m"; + cout<<"\033[0;32m"; cout.precision(1); cout.fill (' '); cout.width(5); @@ -83,14 +83,14 @@ int main(int argc, char* argv[]) if (bad_sum+good_sum!=0) { - cout<<" AVG. bad: "; + cout<<" AVG. "; if (float(bad_sum)/(bad_sum+good_sum)*100>=2.0) { - cout<<"\033[1;31m"; + cout<<"\033[5;31m"; } else { - cout<<"\033[1;32m"; + cout<<"\033[0;32m"; } cout.precision(1); @@ -98,11 +98,11 @@ int main(int argc, char* argv[]) cout.width(5); cout<