proper text overflow in console