Skip to content

TUI sidebar – modified file paths truncated at the end, hiding the filename #30514

Description

@stefanpr

Description

What happens

In the right sidebar under "Modified Files", long file paths are cut off at the end, which hides the actual filename:

MyProject/src/main/java/at/my_projec

Only the leading directory path is visible. The important part – the filename – is cut off.

What should happen

The file paths should be truncated at the beginning so the filename stays visible:

.../my_project/beans/MyBean.java

Having the full filename visible makes it immediately clear which files were changed.

Environment

  • OpenCode version: 1.15.13
  • Platform: Linux
  • UI: TUI (terminal)

Plugins

No response

OpenCode version

1.15.13

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions