On that note, it might be better if we can assign an IO instance on the UI module and set that to a StringIO for the duration of such a capture block. This way we also ensure that someone doesn’t accidentally use plain `puts`.