Remove write '\r' automatically in printf() and my_puts()