fix: ui cleanup

This commit is contained in:
cpacker
2026-02-26 15:25:50 -08:00
parent 7974ea64da
commit 872630ad65
2 changed files with 17 additions and 24 deletions

View File

@@ -125,29 +125,25 @@ export const AgentInfoBar = memo(function AgentInfoBar({
<Box>
<Text color={colors.footer.agentName}>{alienLines[1]}</Text>
{isCloudUser && adeConversationUrl && !isTmux && (
<>
<Box width={rightWidth} flexShrink={1}>
<Link url={adeConversationUrl}>
<Text>Open in ADE </Text>
</Link>
</Box>
<Box flexShrink={1}>
<Link url={adeConversationUrl}>
<Text>Open in ADE </Text>
</Link>
<Text dimColor>· </Text>
</>
<Link url="https://app.letta.com/settings/organization/usage">
<Text>View usage </Text>
</Link>
</Box>
)}
{isCloudUser && adeConversationUrl && isTmux && (
<>
<Box width={rightWidth} flexShrink={1}>
<Text dimColor wrap="truncate-end">
{truncateText(`Open in ADE: ${adeConversationUrl}`, rightWidth)}
</Text>
</Box>
<Text dimColor>· </Text>
</>
)}
{isCloudUser && (
<Link url="https://app.letta.com/settings/organization/usage">
<Text>View usage </Text>
</Link>
<Box width={rightWidth} flexShrink={1}>
<Text dimColor wrap="truncate-end">
{truncateText(
`Open in ADE: ${adeConversationUrl} · Usage: https://app.letta.com/settings/organization/usage`,
rightWidth,
)}
</Text>
</Box>
)}
{!isCloudUser && (
<Box width={rightWidth} flexShrink={1}>

View File

@@ -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],
);