Fix terminal right margin by using custom fit without scrollbar reservation

The FitAddon from ghostty-web reserves 15px for a scrollbar that doesn't
exist in canvas-based rendering. This caused a visible right margin gap.

Added custom fit() method that calculates terminal dimensions without
the scrollbar margin, using the full available container width.
This commit is contained in:
GitHub Copilot
2026-01-28 07:31:27 +00:00
parent 13912a18f8
commit 5a708efe56
2 changed files with 63 additions and 8 deletions
File diff suppressed because one or more lines are too long