0

I found out that I have to add something, at least a space or any character/number, after \b in printf() to make it work, why?

printf("hello\b ");
Øø Øø
  • 45
  • 6
  • to make what work? – Christian Gibbons Apr 14 '21 at 18:58
  • 3
    Does this answer your question? [The "backspace" escape character '\b': unexpected behavior?](https://stackoverflow.com/questions/6792812/the-backspace-escape-character-b-unexpected-behavior) – mkayaalp Apr 14 '21 at 19:02
  • 1
    Backspace moves the cursor position back one position (with caveats about what happens at the beginning of a line); it does not erase what is currently at the position. – Jonathan Leffler Apr 14 '21 at 19:13

0 Answers0