Repository navigation
Fix multiline prompt history and discoverable keyboard copy - #1926
Merged
Merged
Conversation
santoshkumarradha
added a commit
that referenced
this pull request
Oct 24, 2026
* fix: make multiline history navigation and keyboard copy discoverable * fix: retain history and copy controls in narrow terminals * docs: associate history and copy fix with PR 1926
santoshkumarradha
added a commit
that referenced
this pull request
Oct 24, 2026
Takes dev's team/Activity scale fixes, Activity memory and store perf work, multiline prompt history and keyboard copy, and the tidy passes. app/v3 keeps its features: the teams spend result cache now reads membership through dev's shared spendTeamsFile; the command table stays in internal/slashcat (dev's comment tidy applied there); autonomyKinds keeps session.AutonomyKinds() under dev's comment; PERF.md takes dev's trimmed guide plus app/v3's own bounds (DisplayEntry 328, factory, process actions, harness list, media lookups). dev's new comment law (internal/commentlaw) flagged five app/v3-only comments (dated rulings, a vendor name, a home-like path); they now say the behaviour only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Pressing Up again after recalling a multiline prompt moved the caret inside that prompt instead of reaching older history. Up and Down now walk whole entries in chats and task rooms, and Down past the newest restores the unsent draft and caret.
/copynow visibly offers Enter copy, keepsyas an alias, and showsclipboard sentafter emitting the terminal clipboard write. Shorter hints keep history arrows and Enter copy visible at 40 columns. Existing history ordering is preserved.Validation:
make pr-readypassed: build, vet, manual and repository laws, plus all eight TUI test shards and the end-to-end package checks. Selected tests passed on their first run for the final implementation.TestHistoryCopyKeyboarddrove the actual terminal at 140 and 40 columns, traversed two prompts including a multiline prompt, restored the unsent draft, and copied the selected answer with Enter. The emitted clipboard payload was exactlySECOND_HISTORY_REPLY.deepseek/deepseek-v4.1-flash, including auxiliary roles. Independent Standards and Spec reviews found no implementation issues.Terminal clipboard permissions still apply: the acceptance verifies the emitted clipboard command and its text, rather than claiming acknowledgment from the terminal's system clipboard.