add terminator
This commit is contained in:
parent
aaae35f42d
commit
b9a4b54413
@ -524,8 +524,9 @@ void vprint(std::FILE* f, const text_style& ts, const S& format,
|
||||
}
|
||||
vformat_to(buf, format, args);
|
||||
if (has_style) {
|
||||
reset_color(buf);
|
||||
internal::reset_color<Char>(buf);
|
||||
}
|
||||
buf.push_back(Char(0));
|
||||
internal::fputs(buf.data(), f);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user