repl: Do some cleanup (#54362)

This removes some code duplication as well as the minimap from the code
cells

Release Notes:

- N/A
edfd8c87e6Finn Evers committed on 4/21/2026, 10:34:33 AM· committed by GitHubparentaa5e2ae
2 files changedLine totals unavailable