Skip to content

Show hidden output line counts in compact terminal activity - #48761

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c468be9b88b69dc3ca1abdb6b7be023244d32a57
Sep 27, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c468be9b88b69dc3ca1abdb6b7be023244d32a57

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Show hidden output line counts in compact terminal activity

What changed

Replace generic output disclosure labels with counts such as + 5 lines (ctrl+t to expand) for compact command activity, both live and in history. Count retained output lines hidden or clipped by the preview, excluding output discarded by storage limits.

Use the configured open_transcript shortcut and omit the hint when it does not fit or the action is unbound. Invalidate cached layouts when keybindings change. Keep generic Show details labels for other hidden details and keep disclosure controls outside copyable and searchable text.

Testing

Add regression tests for live/history consistency, remapped and disabled shortcuts, and exclusion of hints from source text. Add snapshot coverage for fully visible output, hidden and clipped lines, command-only details, and storage-truncated output.

## What changed

Replace generic output disclosure labels with counts such as `+ 5 lines (ctrl+t to expand)` for compact command activity, both live and in history. Count retained output lines hidden or clipped by the preview, excluding output discarded by storage limits.

Use the configured `open_transcript` shortcut and omit the hint when it does not fit or the action is unbound. Invalidate cached layouts when keybindings change. Keep generic `Show details` labels for other hidden details and keep disclosure controls outside copyable and searchable text.

## Testing

Add regression tests for live/history consistency, remapped and disabled shortcuts, and exclusion of hints from source text. Add snapshot coverage for fully visible output, hidden and clipped lines, command-only details, and storage-truncated output.

GitOrigin-RevId: c468be9b88b69dc3ca1abdb6b7be023244d32a57
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c468be9b88b69dc3ca1abdb6b7be023244d32a57 branch from 1bb006c to e75b6b1 Compare September 27, 2026 18:09
@copyberry
copyberry Bot merged commit e75b6b1 into main Sep 27, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c468be9b88b69dc3ca1abdb6b7be023244d32a57 branch September 27, 2026 18:09
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 27, 2026
@0xMYsteRy
0xMYsteRy deployed to issue-triage September 27, 2026 18:11 — with GitHub Actions Active
@0xMYsteRy
0xMYsteRy deployed to issue-triage September 27, 2026 18:11 — with GitHub Actions Active
@0xMYsteRy
0xMYsteRy deployed to issue-triage September 27, 2026 18:11 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants