feat(ui): add 'ctrl+o' hint to truncated content message (#20529)

This commit is contained in:
Jerop Kipruto
2026-02-27 10:02:46 -05:00
committed by GitHub
parent 58df1c6237
commit 66b8922d66
11 changed files with 57 additions and 33 deletions

View File

@@ -227,7 +227,7 @@ describe('ToolConfirmationQueue', () => {
// availableContentHeight = Math.max(9 - 6, 4) = 4
// MaxSizedBox in ToolConfirmationMessage will use 4
// It should show truncation message
await waitFor(() => expect(lastFrame()).toContain('first 49 lines hidden'));
await waitFor(() => expect(lastFrame()).toContain('49 hidden (Ctrl+O)'));
expect(lastFrame()).toMatchSnapshot();
unmount();
});