this changes the windows attributes !!! */
| 118 | |
| 119 | /* this changes the windows attributes !!! */ |
| 120 | void print_in_middle(WINDOW *win, int y, int width, const char *str, int attrs) |
| 121 | { |
| 122 | wattrset(win, attrs); |
| 123 | mvwprintw(win, y, (width - strlen(str)) / 2, "%s", str); |
| 124 | } |
| 125 | |
| 126 | int get_line_no(const char *text) |
| 127 | { |
no outgoing calls
no test coverage detected