fix: skip decorative separators from block selection in preview#24
Merged
gavin-jeong merged 4 commits intomasterfrom Apr 18, 2026
Merged
fix: skip decorative separators from block selection in preview#24gavin-jeong merged 4 commits intomasterfrom
gavin-jeong merged 4 commits intomasterfrom
Conversation
Separator lines (───) between messages in subagent/task previews were navigable and selectable via block cursor, which was meaningless. Now separators render without cursor prefix and are skipped by keyboard navigation, mouse clicks, and initial cursor placement.
- Skip conversation entries with no text content (tool-only turns like auto-generated user messages) from agent/task preview - Separators only added between entries that are actually emitted
Only skip entries with no text AND no tool_use blocks (pure tool_result entries). Entries with tool_use blocks are kept since they represent meaningful operations (e.g. background job commands).
Separate session agents from tasks/plan preview, fix worktree plan-memory capture, and align split-pane hints and boundary behavior with actual navigation.
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.
Summary
isDecorativeSeparator()helper andisBlockNavigable()to distinguish structural separators from content blocksTest plan