## Problem `setup_problem` only cleared the output buffer when `old_problem_id ~= problem_id`. If two different contests share a problem with the same ID (e.g. both have `a`), the condition is false and stale output from the previous contest remains visible. ## Solution Clear the output buffer at the top of `proceed()` in `setup_contest` whenever `is_new_contest` is true, before any problem setup runs. Closes #303. |
||
|---|---|---|
| .. | ||
| 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 | ||