pub fn write_reset_tab_stops_every_8<W: Write>(
w: &mut W,
width: u16,
) -> Result<()>Expand description
Reset tab stops to one every eight columns without DECST8C.
Clears every existing stop with TBC and re-establishes one at each
eighth column through width using HTS. The cursor is parked at
column zero with CR before and after, and nothing is printed, so the
visible row is left untouched. This is the portable fallback for
terminals that do not implement SET_TAB_EVERY_8_COLUMNS.
width is the managed width in cells; a width of eight or fewer
only clears stops, since the first default stop already lies at or
past the right edge.