| 920 | } |
| 921 | |
| 922 | void Console::add_text(color_value color, const std::string &text) |
| 923 | { |
| 924 | std::lock_guard<std::recursive_mutex> lock{*wlock}; |
| 925 | if (inited) |
| 926 | d->print_text(color, text); |
| 927 | else |
| 928 | fwrite(text.data(), 1, text.size(), stderr); |
| 929 | } |
| 930 | |
| 931 | int Console::get_columns(void) |
| 932 | { |
nothing calls this directly
no test coverage detected