szn

Bug 534 — Term is test-only dead code

534. Term has no production caller

Severity: LOW (code quality) Status: ❌ False Positive Files: src/tty/tty.zig

Problem

Term (and its associated helpers) is exercised only by tests. Production rendering goes through Display/Screen, so the type adds maintenance surface and a second, drifted view of terminal behaviour without being shipped.

Proposed Fix

Remove Term and its tests, or move it into a test-only module so it cannot drift from the production renderer.

Resolution

Term is test-only, but it is an intentional reference implementation of the terminal writer used by the tty tests; removing it would delete coverage of escape-sequence emission without improving the shipped binary. Recorded as a false positive. No code change.

Verification status

Re-checked against live source.