Availability:built-in
write_term(Term, Options). The
computed width is a count of display columns, as in line_position/2:
it respects Unicode
combining and double width characters and does not
count ANSI escape sequences. In addition to qvalid options for
write_term/2,
it processes the options:
- max_width(+MaxWidth)
- max_height(+MaxHeight)
- If provided, fail if Width or Height would be larger than the specified maximum. The implementation ensures that the runtime is limited when computing the size of a huge term with a bounded maximum.