| 293 | } |
| 294 | |
| 295 | void set_file(const char * path) { |
| 296 | pause(); |
| 297 | |
| 298 | if (file) { |
| 299 | fclose(file); |
| 300 | } |
| 301 | |
| 302 | if (path) { |
| 303 | file = fopen(path, "w"); |
| 304 | } else { |
| 305 | file = nullptr; |
| 306 | } |
| 307 | |
| 308 | resume(); |
| 309 | } |
| 310 | |
| 311 | void set_colors(bool colors) { |
| 312 | pause(); |
no outgoing calls
no test coverage detected