term.ts_width_mode

term

ts_width_mode() -> mode

Return cached text-sizing width mode

Returns "w_only" when the w parameter and fractional n/d scaling are interpreted independently by the terminal, or "combined" when the terminal applies Kitty-native semantics where w multiplies the scale factor. Defaults to "combined" if init_ts_width_mode() has not been called yet.