added term.clear command before readmsgs prompt