Skip to content

fix: wrap long CLI paths in table output#24

Open
jottakka wants to merge 1 commit into
mainfrom
fix-search-table-long-windows-paths
Open

fix: wrap long CLI paths in table output#24
jottakka wants to merge 1 commit into
mainfrom
fix-search-table-long-windows-paths

Conversation

@jottakka
Copy link
Copy Markdown
Contributor

@jottakka jottakka commented May 19, 2026

Summary

CLI tables now wrap long path cells instead of truncating them with Rich's ellipsis overflow. This keeps long Windows paths distinguishable in narrow terminals and avoids emitting the Unicode ellipsis that can render as corrupted text in some PowerShell/Codex sessions.

The fix covers libr search, libr list, libr docs, libr docs list, and libr docs search. The existing --format paths mode remains the full copyable-path output for search results.

Testing

  • uv run --extra dev pytest tests/test_cli.py
  • uv run --extra dev pytest
  • Manual Rich rendering check with an 80-column console and a long Windows-style path across all CLI Path tables

Compound Engineering
GPT_5.5

@jottakka jottakka force-pushed the fix-search-table-long-windows-paths branch from 99cf4a0 to aaeca96 Compare May 19, 2026 14:44
@jottakka jottakka self-assigned this May 19, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
@jottakka jottakka force-pushed the fix-search-table-long-windows-paths branch from aaeca96 to c0e4b77 Compare May 19, 2026 14:46
@jottakka jottakka changed the title fix: wrap long search result paths fix: wrap long CLI paths in table output May 19, 2026
@jottakka jottakka requested review from Spartee and torresmateo May 19, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant