Let's say I have ABCDEFG
in the console, and I want to remove the C
(AB DEFG
).
Is there anyway to do that when the cursor position is currently on the C
?
Like how \x1b[2J
clears the console, but only one character instead of the whole console.
NOTE: this is in an stdout pipe.
Anything similar to escape codes works.
\x08
? – Rinzwind May 23 '18 at 21:09