diff --git a/.beans/claudbg-wxdt--tui-truncate-project-path-from-start-when-it-overf.md b/.beans/claudbg-wxdt--tui-truncate-project-path-from-start-when-it-overf.md index 927fe92..b5cf433 100644 --- a/.beans/claudbg-wxdt--tui-truncate-project-path-from-start-when-it-overf.md +++ b/.beans/claudbg-wxdt--tui-truncate-project-path-from-start-when-it-overf.md @@ -1,10 +1,13 @@ --- # claudbg-wxdt title: 'TUI: truncate project path from start when it overflows (show end, not beginning)' -status: todo +status: completed type: bug +priority: normal created_at: 2026-04-01T16:47:14Z -updated_at: 2026-04-01T16:47:14Z +updated_at: 2026-04-01T16:57:08Z --- In the TUI session list, when the project path is too long to fit in the column, the beginning is shown and the end is cut off. Instead, the end of the path should be shown (right-justified or left-truncated) since the unique/distinguishing part of the path is usually at the end. + +Fixed left-truncation of project path in TUI session list. The truncate_project function already implemented correct left-truncation, but it was called with project_max+30 chars, causing ratatui to do right-clipping instead. Removed the +30 so truncate_project runs first and shows the end of the path (e.g. …/foo/bar).