From d7b195a783223500653335c3e5c9d8dfaee0213c Mon Sep 17 00:00:00 2001 From: Kamil Kalisz Date: Wed, 18 Nov 2026 11:21:22 +0100 Subject: [PATCH] fix(tui): the not-found hint no longer says --list shows the names The --list column is rowLabel() cut to 48 characters: an unnamed session shows its folder, a long name ends in an ellipsis, and neither resolves as a name. Point at attaching by number instead. Review on #834. Co-Authored-By: Claude Opus 5.5 --- src/tui/tui-app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/tui-app.ts b/src/tui/tui-app.ts index 6859ee18..bbe39a58 100644 --- a/src/tui/tui-app.ts +++ b/src/tui/tui-app.ts @@ -2742,7 +2742,7 @@ export function attachTargetError( case 'none': return typeof target === 'number' || /^\d+$/.test(target) ? `${palette.err(`there is no session ${target}`)}\nRun ${list} to see the numbers.\n` - : `${palette.err(`there is no session named ${target}`)}\nRun ${list} to see the names.\n`; + : `${palette.err(`there is no session named ${target}`)}\nNames match exactly. Run ${list} and attach by number instead.\n`; } }