Repository navigation
feat(tui): add keybind to expand/collapse tool output blocks - #52725
Closed
vector0902 wants to merge 1 commit into
Closed
vector0902 wants to merge 1 commit into
vector0902 wants to merge 1 commit into
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: |
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Member
|
This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2. — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Related to #40096 / #14511 (keyboard expand of tool output blocks).
Type of change
What does this PR do?
Adds a
tool_expand_outputkeybind (<leader>o, i.e.ctrl+x o) that expands/collapses alltool output blocks in the session view. New
toolOutputExpandedTicksignal toggled by thesession.toggle.tool_output_expandedcommand (packages/tui/src/config/keybind.ts +routes/session/index.tsx). When mouse is disabled, collapsed blocks have no keyboard path; this
provides a global toggle. Per-block keyboard expand is tracked upstream in #40096 / #14511; this
is a complementary global toggle.
How did you verify your code works?
packages/tui) passes.bun devinstance.Screenshots / recordings
N/A
Checklist