From 8a0ddf8ccd021b705d9f0bc37e47954aac2a50fb Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Wed, 1 Apr 2026 09:57:14 -0700 Subject: [PATCH] chore(claudbg-wxdt): mark bean completed Co-Authored-By: Claude Sonnet 4.6 --- ...--tui-truncate-project-path-from-start-when-it-overf.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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).