Skip to content

fix(input): preserve stdin FIFO order and route pastes to focused fields - #1871

Draft
DenizOkcu wants to merge 4 commits into
Nano-Collective:mainfrom
DenizOkcu:review/terminal-input-fifo
Draft

DenizOkcu wants to merge 4 commits into
Nano-Collective:mainfrom
DenizOkcu:review/terminal-input-fifo

Conversation

@DenizOkcu

Copy link
Copy Markdown
Contributor

Why

Split from #1570 following @addyCooks’ request for smaller PRs. This is scope (b); depends on #1869.

Changes

  • Filter keys and bracketed pastes into one ordered FIFO.
  • Flush held partial key sequences before delivering a paste; cover malformed continuations and timeout/duplicate cases.
  • Route pastes to focused targets and document the MCP env-vars editor's append-only behavior.

Review / merge order

Draft until the core PR merges. GitHub cannot base an upstream PR on a fork-only branch, so Files changed currently includes the dependency. Review only this scope using the scoped comparison. After the core merges, rebase onto upstream main, rerun checks, and mark ready.

Validation

Local input-checkout typecheck, build, and 60 focused input/key/FIFO/swap tests passed. Committed lockfile YAML and whitespace checks pass; branch CI remains authoritative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Documentation area:tui Terminal UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant