mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
TruncateWithEllipsis cuts off the end of a string, which is the wrong end for a path: what distinguishes two paths is often the last segment, and it is the one thing the reader wants to see. Keep both ends and put the ellipsis between them. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>