Skip to content

Commit f518d83

Browse files
committed
include message in cg output
1 parent 5c53511 commit f518d83

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/suggest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,8 @@ RunState Suggest::run_cg(std::istream& is, std::ostream& os) {
12481248
for (const auto& rep : err.rep) {
12491249
os << "\t\033[0;32m\033[3m" << toUtf8(rep) << "\033[0m";
12501250
}
1251+
os << " (msg: " << toUtf8(err.msg.first) << " --- "
1252+
<< toUtf8(err.msg.second) << ")";
12511253
}
12521254
os << std::endl;
12531255
for (const Reading& reading : cohort.readings) {

0 commit comments

Comments
 (0)