Skip to content

Console: Smart truncation of long working directory names #12772

@jmcphers

Description

@jmcphers

System details:

Positron and OS details:

Positron Version: 2026.04.0 build 217
Code - OSS Version: 1.109.2
Commit: c87af6bdec1f7cb6057b76a4b8e30280bb584ae7
Date: 2026-03-27T07:46:17.689Z
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Session details:

Any

Describe the issue:

If you're working in a nested directory, or one with a long name:

Image

And there isn't quite enough room to display it:

Image

The entire top of the Console pane goes blank.

Expected or desired behavior:

We should show as much as we can of the directory name, not blank the whole thing out. This could be as simple as text-overflow based ellipsis truncation, or something smarter that preserves the most important path segments.

Metadata

Metadata

Assignees

Labels

area: consoleIssues related to Console category.
No fields configured for Enhancement.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions