From 872630ad65dd2eb36bdf19cc6302df0fb91d878f Mon Sep 17 00:00:00 2001 From: cpacker Date: Thu, 26 Feb 2026 15:25:50 -0800 Subject: [PATCH] fix: ui cleanup --- src/cli/components/AgentInfoBar.tsx | 36 +++++++++++++---------------- src/cli/components/InputRich.tsx | 5 +--- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/src/cli/components/AgentInfoBar.tsx b/src/cli/components/AgentInfoBar.tsx index e174083..7044356 100644 --- a/src/cli/components/AgentInfoBar.tsx +++ b/src/cli/components/AgentInfoBar.tsx @@ -125,29 +125,25 @@ export const AgentInfoBar = memo(function AgentInfoBar({ {alienLines[1]} {isCloudUser && adeConversationUrl && !isTmux && ( - <> - - - Open in ADE ↗ - - + + + Open in ADE ↗ + · - + + View usage ↗ + + )} {isCloudUser && adeConversationUrl && isTmux && ( - <> - - - {truncateText(`Open in ADE: ${adeConversationUrl}`, rightWidth)} - - - · - - )} - {isCloudUser && ( - - View usage ↗ - + + + {truncateText( + `Open in ADE: ${adeConversationUrl} · Usage: https://app.letta.com/settings/organization/usage`, + rightWidth, + )} + + )} {!isCloudUser && ( diff --git a/src/cli/components/InputRich.tsx b/src/cli/components/InputRich.tsx index 4a73c42..8d253b2 100644 --- a/src/cli/components/InputRich.tsx +++ b/src/cli/components/InputRich.tsx @@ -1354,11 +1354,8 @@ export function Input({ }, [ralphPending, ralphPendingYolo, ralphActive, currentMode]); // Create a horizontal line using box-drawing characters. - // IMPORTANT: never draw into the terminal's last column; some terminals will - // soft-wrap at the edge which breaks Ink's clear/redraw accounting during - // resize and can leave stacks of stale divider rows behind. const horizontalLine = useMemo( - () => "─".repeat(Math.max(0, columns - 1)), + () => "─".repeat(Math.max(0, columns)), [columns], );