summaryrefslogtreecommitdiff
path: root/packages/server/src
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-15 00:19:41 -0700
committerN. Taylor Mullen <[email protected]>2025-05-15 22:57:28 -0700
commit33743d347b6721f8eec537d01ad9f6a95b4c6683 (patch)
treeab6630623da14e7893a2cfc54d4a5bb3ab815b2c /packages/server/src
parent601a61ed31efb281e6bb396c5f15c491bfbca27d (diff)
Fix: Prevent UI tearing and improve display of long content
This commit introduces several changes to better manage terminal height and prevent UI tearing, especially when displaying long tool outputs or when the pending history item exceeds the available terminal height. - Calculate and utilize available terminal height in `App.tsx`, `HistoryItemDisplay.tsx`, `ToolGroupMessage.tsx`, and `ToolMessage.tsx`. - Refresh the static display area in `App.tsx` when a pending history item is too large, working around an Ink bug (see https://github.com/vadimdemedes/ink/pull/717). - Truncate long tool output in `ToolMessage.tsx` and indicate the number of hidden lines. - Refactor `App.tsx` to correctly measure and account for footer height. Fixes https://b.corp.google.com/issues/414196943
Diffstat (limited to 'packages/server/src')
0 files changed, 0 insertions, 0 deletions