Skip to content

Fix multiline prompt history and discoverable keyboard copy - #1926

Merged
santoshkumarradha merged 3 commits into
devfrom
fix/history-copy-ux
Oct 24, 2026
Merged

santoshkumarradha merged 3 commits into
devfrom
fix/history-copy-ux

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

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.

/copy now visibly offers Enter copy, keeps y as an alias, and shows clipboard sent after emitting the terminal clipboard write. Shorter hints keep history arrows and Enter copy visible at 40 columns. Existing history ordering is preserved.

Validation:

  • Regression tests reproduced the multiline navigation failure before the fix. The 40-column test also reproduced disappearing controls.
  • make pr-ready passed: 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.
  • Live TestHistoryCopyKeyboard drove 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 exactly SECOND_HISTORY_REPLY.
  • All nine completed live model requests were checked against 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.

@santoshkumarradha
santoshkumarradha merged commit a2f0486 into dev Oct 24, 2026
6 checks passed
@santoshkumarradha
santoshkumarradha deleted the fix/history-copy-ux branch October 24, 2026 19:01
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant