Skip to main content
3 of 3
edited title
dumbass
  • 27.2k
  • 12
  • 18

Backspace character (^H, U+0008) is displayed in preview, disappears when rendered on the actual page

Question: How to use '\b' with fmt.Println()?

The expected output as shown in the edit section:

expected output

Actual output:

Note the missing boxes (representing an unknown character?)

Actual output