Skip to content

Commit 5e7a1dd

Browse files
author
Daniel Kroening
committed
(moderate) use of color in show-vcc
1 parent ef3f429 commit 5e7a1dd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/goto-symex/show_vcc.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ void show_vcc_plain(
6363
{
6464
if(!p_it->ignore)
6565
{
66-
out << "{-" << count << "} " << format(p_it->cond_expr) << '\n';
66+
out << messaget::faint << "{-" << count << "} " << messaget::reset
67+
<< format(p_it->cond_expr) << '\n';
6768

6869
#ifdef DEBUG
6970
out << "GUARD: " << format(p_it->guard) << '\n';
@@ -75,10 +76,10 @@ void show_vcc_plain(
7576
}
7677

7778
// Unicode equivalent of "|--------------------------"
78-
out << u8"\u251c";
79+
out << messaget::faint << u8"\u251c";
7980
for(unsigned i = 0; i < 26; i++)
8081
out << u8"\u2500";
81-
out << '\n';
82+
out << messaget::reset << '\n';
8283

8384
// split property into multiple disjunts, if applicable
8485
exprt::operandst disjuncts;
@@ -91,7 +92,8 @@ void show_vcc_plain(
9192
std::size_t count = 1;
9293
for(const auto &disjunct : disjuncts)
9394
{
94-
out << '{' << count << "} " << format(disjunct) << '\n';
95+
out << messaget::faint << '{' << count << "} " << messaget::reset
96+
<< format(disjunct) << '\n';
9597
count++;
9698
}
9799

0 commit comments

Comments
 (0)