When the message is so long and the cursor goes down, the cursors position doesn't change. Find some solution to move cursor position up only when the line is full.