Repository navigation
Conversation
…ack on Canvas branch requests, browser element references and staged prompts (review rework, tours, CI fixes, verify) set the global showPromptInput preference to true so the draft they wrote would be visible. That flag is persisted, so every such action silently re-enabled "Show prompt input box below terminal" for good. They now reveal the prompt box for that task only (promptInputRevealed). Sending the prompt hides it again and returns focus to the terminal, and an unsent draft restored at startup keeps its box visible. The user's setting is no longer written by anything but the Settings toggle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gnutix
added a commit
to gnutix/parallel-code
that referenced
this pull request
Nov 13, 2026
gnutix
marked this pull request as ready for review
November 13, 2026 22:18
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.
Problem
Unchecking Settings > Appearance > Terminal > Show prompt input box below terminal does not last. Every feature that writes a draft into a task's prompt box turned the global
showPromptInputpreference back on so the draft would be visible, and that preference is persisted:stageCanvasRequestinsrc/store/canvas.tsappendBrowserReferenceinsrc/store/canvas.tsstageTaskPromptinsrc/store/staged-prompt.tsSo one use of any of them re-enabled the setting for good, on every task.
Fix
promptInputRevealedflag (src/store/prompt-input-visibility.ts). The Settings toggle is the only thing that writesshowPromptInput.TaskPaneland the keyboard focus grid readisTaskPromptInputShown(task)(the preference, or the task's revealed flag).Tests
canvas.client.test.tsx,review.test.ts: staging marks the task revealed and leavesshowPromptInputoff (they asserted the old flip).PromptInput.client.test.tsx: a send hides a revealed box and refocuses the terminal; nothing changes when the setting shows the box.focus.test.ts: arrow navigation reaches a revealed prompt box while the setting is off.persistence.test.ts: a restored draft marks the box revealed.npm run check:staticandnpm testpass.Screenshots
Starting state: the setting is off, so the terminal task has no prompt box. Then "Send branch to agent > Explain this branch" on a reasoning graph node.
Both versions then show the staged request in this task's prompt box:
🤖 Generated with Claude Code (Opus 5.5)