Why not just replace these two lines with `showlimited(io, key)`?