opencode
opencode copied to clipboard
Edit tool diff crops "-" character
Description
When not in full screen window, you can see "userDataDir" not having double dash and instead single dash on the right while it's fine on the left.
When I do full screen I see the double dash on the right:
OpenCode version
1.0.150
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
arch linux hyprland
Terminal
alacritty
This issue might be a duplicate of existing issues. Please check:
- #3711: Syntax highlighting is broken (mentions
+and-from diff not rendering correctly) - #4761: Edit tool diff view isn't colored (specifically about Edit tool diff rendering)
- #4831: Diffs are shown as + and - without colors (directly related to diff character display)
- #3775: Text and Boxes need flexShrink=0 where they should not shrink (character cropping/layout issue)
These issues appear to be related to text rendering and cropping in diffs, particularly with opentui. Feel free to ignore if your specific case differs from these!