First of all, "r" means the cursor returns to the beginning of the line (refer to the ascii encoding table). You can use it to achieve the effect of overwriting characters, but only if you don't break lines (eliminate n).
Come~ and see the miracles of our Lord.
First of all, "r" means the cursor returns to the beginning of the line (refer to the ascii encoding table). You can use it to achieve the effect of overwriting characters, but only if you don't break lines (eliminate n).
Come~ and see the miracles of our Lord.
Add a progress bar demo