terminal_view: Fix selection columns not being clamped correctly for rendering (#43876)

Before:


https://github.com/user-attachments/assets/3be4d451-81a6-430b-bc36-d91f4cd44c9b

After:


https://github.com/user-attachments/assets/6d64bf0c-5bd1-45be-b9d8-20118e5a25e6



Release Notes:

- Fixed rendered selections in the terminal view not being clamped to
the line start/ends correctly
b9c5900fb0Lukas Wirth committed on 12/1/2025, 8:59:33 AM· committed by GitHubparent4e3aa0b
1 file changedLine totals unavailable