For example I am printing: xxx and then I need print: yy But xxx is 3 symbols, and if I will overwrite 2 I will get: yyx is there any way to prevent it?