Search found 1 match

by 1321457900
Wed Jan 18, 2023 4:57 pm
Forum: ESP-IDF
Topic: ESP32-C3 CDC-ACM must printf "\n" after putchar
Replies: 4
Views: 3033

Re: ESP32-C3 CDC-ACM must printf "\n" after putchar

你可以使用

Code: Select all

printf("%s\033[s\033[1A\n\033[u", data);
来在打印换行符之后再回到上一行