Truncating message line to avoid enter key