| 36 | } |
| 37 | |
| 38 | void cmCursesLongMessageForm::UpdateContent(std::string const& output, |
| 39 | std::string const& title) |
| 40 | { |
| 41 | this->Title = title; |
| 42 | |
| 43 | if (!output.empty() && this->Messages.size() < MAX_CONTENT_SIZE) { |
| 44 | this->Messages.push_back('\n'); |
| 45 | this->Messages.append(output); |
| 46 | form_driver(this->Form, REQ_NEXT_LINE); |
| 47 | form_driver(this->Form, REQ_BEG_LINE); |
| 48 | this->DrawMessage(output.c_str()); |
| 49 | } |
| 50 | |
| 51 | this->UpdateStatusBar(); |
| 52 | touchwin(stdscr); |
| 53 | refresh(); |
| 54 | } |
| 55 | |
| 56 | void cmCursesLongMessageForm::UpdateStatusBar() |
| 57 | { |
no test coverage detected