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

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