| 99 | } |
| 100 | |
| 101 | void cmCursesLongMessageForm::PrintKeys() |
| 102 | { |
| 103 | int x; |
| 104 | int y; |
| 105 | getmaxyx(stdscr, y, x); |
| 106 | if (x < cmCursesMainForm::MIN_WIDTH || y < cmCursesMainForm::MIN_HEIGHT) { |
| 107 | return; |
| 108 | } |
| 109 | char firstLine[512]; |
| 110 | snprintf(firstLine, sizeof(firstLine), "Press [e] to exit screen"); |
| 111 | |
| 112 | char fmt_s[] = "%s"; |
| 113 | move(y - 2, 0); |
| 114 | printw(fmt_s, firstLine); |
| 115 | pos_form_cursor(this->Form); |
| 116 | } |
| 117 | |
| 118 | void cmCursesLongMessageForm::Render(int /*left*/, int /*top*/, int /*width*/, |
| 119 | int /*height*/) |
no test coverage detected