Skip to content

Commit 8cf43ab

Browse files
authored
Purple-colored warnings (#230)
1 parent 95150b0 commit 8cf43ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/dsm/headers/Dynamics.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ namespace dsm {
112112
path.insert(nodeId, nextNodeId, true);
113113
}
114114
} else if ((nextNodeId != destinationID)) {
115-
std::cerr << std::format("WARNING: No path found from node {} to node {}",
116-
nextNodeId,
117-
destinationID)
115+
std::cerr << std::format(
116+
"\033[38;2;130;30;180mWARNING: No path found from node {} "
117+
"to node {}\033[0m",
118+
nextNodeId,
119+
destinationID)
118120
<< std::endl;
119121
}
120122
}

0 commit comments

Comments
 (0)