Problem: `setup_problem` only cleared the output buffer when `old_problem_id ~= problem_id`. If two different contests both had a problem with the same ID (e.g. `a`), the condition was false and stale output from the previous contest remained visible. Solution: clear the output buffer at the top of `proceed()` whenever `is_new_contest` is true, before any problem setup runs. |
||
|---|---|---|
| .. | ||
| commands | ||
| pickers | ||
| runner | ||
| ui | ||
| cache.lua | ||
| config.lua | ||
| constants.lua | ||
| credentials.lua | ||
| health.lua | ||
| helpers.lua | ||
| init.lua | ||
| log.lua | ||
| race.lua | ||
| restore.lua | ||
| scraper.lua | ||
| setup.lua | ||
| state.lua | ||
| stress.lua | ||
| submit.lua | ||
| utils.lua | ||
| version.lua | ||