cp.nvim/lua
Barrett Ruth a67e0d5db8 fix(setup): clear output buffer when switching contests
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.
2026-03-05 15:27:48 -05:00
..
cp fix(setup): clear output buffer when switching contests 2026-03-05 15:27:48 -05:00