docs/vt/csi/tbc.mdx
<VTSequence sequence={["CSI", "Pn", "g"]} />
The parameter n must be 0 or 3. If n is omitted, n defaults to 0.
If the parameter n is 0, the cursor column position is marked as
not a tab stop. If the column was already not a tab stop, this does nothing.
If the parameter n is 3, all tab stops are cleared.
printf "\033[1;1H" # move to top-left
printf "\033[0J" # clear screen
printf "\033[?5W" # reset tabs
printf "\t"
printf "\033[g"
printf "\033[1G"
printf "\t"
|_______________c_______|
printf "\033[1;1H" # move to top-left
printf "\033[0J" # clear screen
printf "\033[?5W" # reset tabs
printf "\033[3g"
printf "\033[1G"
printf "\t"
|______________________c|