Written documents show a ton of whitespace at the end but LOCs still align with output #2665

Open
opened 2026-02-16 17:36:43 -05:00 by yindo · 3 comments
Owner

Originally created by @bcardarella on GitHub (Nov 7, 2025).

Description

Image

This one is strange. I have seen this several times. There is a bunch of what appears to be whitespace at the end of the document but then if I go an inspect the actual written document it has the same number of lines are reported in the LOC numbers in opencode but there isn't this massive whitespace gap at the end:

Image

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @bcardarella on GitHub (Nov 7, 2025). ### Description <img width="759" height="748" alt="Image" src="https://github.com/user-attachments/assets/037dade4-adf7-4b6a-b282-b3a5769f8365" /> This one is strange. I have seen this several times. There is a bunch of what appears to be whitespace at the end of the document but then if I go an inspect the actual written document it has the same number of lines are reported in the LOC numbers in opencode but there isn't this massive whitespace gap at the end: <img width="503" height="421" alt="Image" src="https://github.com/user-attachments/assets/a0fc3771-bc2f-462d-9e29-68e11507aa68" /> ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:36:43 -05:00
Author
Owner

@aaronmcadam commented on GitHub (Nov 7, 2025):

I'm seeing the same thing on the latest version, 1.0.39.

@aaronmcadam commented on GitHub (Nov 7, 2025): I'm seeing the same thing on the latest version, 1.0.39.
Author
Owner

@bcardarella commented on GitHub (Nov 7, 2025):

I'm also on 1.0.39 but this has been present since the 1.0.0 switch

@bcardarella commented on GitHub (Nov 7, 2025): I'm also on 1.0.39 but this has been present since the 1.0.0 switch
Author
Owner

@aaronmcadam commented on GitHub (Nov 13, 2025):

I'm still seeing this in v1.0.61.

@aaronmcadam commented on GitHub (Nov 13, 2025): I'm still seeing this in v1.0.61.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2665