Lines Matching refs:to_print
66 void LinePrinter::Print(string to_print, LineType type) {
68 line_buffer_ = to_print;
84 to_print = ElideMiddle(to_print, static_cast<size_t>(csbi.dwSize.X));
87 printf("%s\x1B[K", to_print.c_str()); // Clear to end of line.
101 char_data[i].Char.AsciiChar = i < to_print.size() ? to_print[i] : ' ';
111 to_print = ElideMiddle(to_print, size.ws_col);
113 printf("%s", to_print.c_str());
120 printf("%s\n", to_print.c_str());
135 void LinePrinter::PrintOnNewLine(const string& to_print) {
144 if (!to_print.empty()) {
145 PrintOrBuffer(&to_print[0], to_print.size());
147 have_blank_line_ = to_print.empty() || *to_print.rbegin() == '\n';