File paths are overflowing when adding a file as context #2761

Closed
opened 2026-02-16 17:37:08 -05:00 by yindo · 1 comment
Owner

Originally created by @la55u on GitHub (Nov 10, 2025).

Originally assigned to: @thdxr on GitHub.

Description

The file path is overflowing if it doesn't fit the textbox when trying to attach a file as context. It probably should hide (...) the middle and show the end of the path since most likely that's how it can be recognized.

OpenCode version

1.0.55

Steps to reproduce

Just try to search for a file with a long path name.

Screenshot and/or share link

Image

Operating System

Fedora

Terminal

Ghostty

Originally created by @la55u on GitHub (Nov 10, 2025). Originally assigned to: @thdxr on GitHub. ### Description The file path is overflowing if it doesn't fit the textbox when trying to attach a file as context. It probably should hide (...) the middle and show the end of the path since most likely that's how it can be recognized. ### OpenCode version 1.0.55 ### Steps to reproduce Just try to search for a file with a long path name. ### Screenshot and/or share link <img width="2353" height="1306" alt="Image" src="https://github.com/user-attachments/assets/c222c050-6ba8-4214-b694-fbfdbfb4d797" /> ### Operating System Fedora ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:37:08 -05:00
yindo closed this issue 2026-02-16 17:37:08 -05:00
Author
Owner

@thdxr commented on GitHub (Nov 11, 2025):

fixed in next release

@thdxr commented on GitHub (Nov 11, 2025): fixed in next release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2761