pub fn printed() -> Vec<String>
The lines the program printed since the last time this was asked. A line still being written, with print! and no newline yet, waits for its end.
print!