Description
When listing DNS records via dnsimple records list <domain>, the table output is rendered with a tabwriter-based renderer that is not aware of the terminal width. As a result:
- Long cell values (e.g., long TXT record content) overflow their cell and break the alignment of the table.
- The output does not adapt to narrower terminal sizes, making it hard to read on smaller resolutions.
Expected Behavior or Outcome
- The DNS records list table renders cleanly regardless of cell content length.
- Long content wraps inside its own cell instead of overflowing into adjacent columns or off-screen.
- The table adapts to the current terminal width (with a sensible fallback when the width cannot be detected).
Acceptance Criteria
Resources/References
Notes
- The original implementation relied on
text/tabwriter, which has no concept of a maximum width or wrapping.
Description
When listing DNS records via
dnsimple records list <domain>, the table output is rendered with atabwriter-based renderer that is not aware of the terminal width. As a result:Expected Behavior or Outcome
Acceptance Criteria
dnsimple records list <domain>against a domain with long record content (e.g., long TXT records) produces a table that fits within the current terminal width.Resources/References
Notes
text/tabwriter, which has no concept of a maximum width or wrapping.