[Feature Request] Make worktree/branch label truncation in info bar configurable

Resolved 💬 1 comment Opened May 30, 2026 by alexmdavis Closed Jul 3, 2026

Bug Description
Title: Make info-bar truncation of worktree/branch labels configurable (or smarter) Area: Worktree / background-task info bar (terminal UI) Problem: When a worktree or branch name is long, the info bar gives it a large share of the line width and only truncates at the very end with …. The label ends up duplicated (worktree name + bracketed worktree path) and crowds out the rest of the bar's content. Example: byg-372-distribute-processing-fees-proportionately-across [worktree-alex/byg-372-distribute-processing-fees-proportionately-…] There is currently no way to control this — no settings.json key, env var, or status-line option governs the label's max width, truncation length, or truncation strategy. Requests (any one would help): 1. A configurable max width / character cap for worktree/branch labels in the info bar (e.g. infoBar.labelMaxWidth). 2. Smarter truncation — truncate from the middle or drop the redundant second occurrence of the name, so distinguishing characters (like the trailing slug) survive and other bar content stays visible. 3. At minimum, avoid showing the same long name twice on one line. Why it matters: Long-but-meaningful names (e.g. ticket-ID-prefixed branch names) are common; aggressive, name-preserving truncation would keep the bar readable without forcing users to rename worktrees.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.158
  • Feedback ID: 1695fe06-204a-4904-888f-c1c7b38bd094

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗