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:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user