Added a redraw method to the output

Redrawal of the output was done in the text display method, but is now
done in a separate method.