| 309 | } |
| 310 | |
| 311 | void set_file(const char * path) { |
| 312 | pause(); |
| 313 | |
| 314 | if (file) { |
| 315 | fclose(file); |
| 316 | } |
| 317 | |
| 318 | if (path) { |
| 319 | file = fopen(path, "w"); |
| 320 | } else { |
| 321 | file = nullptr; |
| 322 | } |
| 323 | |
| 324 | resume(); |
| 325 | } |
| 326 | |
| 327 | void set_colors(bool colors) { |
| 328 | pause(); |
no outgoing calls
no test coverage detected