wrap long prompt exceeding the width of terminal