Skip to content

Extract command state from App#98

Merged
garritfra merged 1 commit into
mainfrom
cursor/command-state
May 4, 2026
Merged

Extract command state from App#98
garritfra merged 1 commit into
mainfrom
cursor/command-state

Conversation

@garritfra
Copy link
Copy Markdown
Owner

Summary

  • Add CommandState for command prompt line, kind, history, history index, and scratch state.
  • Route command editing, submit bookkeeping, and history navigation through CommandState helpers.
  • Update render, search, dispatch, and mouse test call sites to use the grouped command state.

Test plan

  • cargo fmt --all
  • cargo clippy --workspace --all-targets --all-features
  • cargo test

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@garritfra garritfra marked this pull request as ready for review May 4, 2026 09:56
@garritfra garritfra merged commit dab04d7 into main May 4, 2026
10 checks passed
@garritfra garritfra deleted the cursor/command-state branch May 4, 2026 09:56
@github-actions github-actions Bot mentioned this pull request May 4, 2026
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