Skip to content

Add paste support to the terminal prompt - #142

Open
craigStrive wants to merge 1 commit into
rootvc:mainfrom
craigStrive:fix-terminal-paste-input
Open

craigStrive wants to merge 1 commit into
rootvc:mainfrom
craigStrive:fix-terminal-paste-input

Conversation

@craigStrive

Copy link
Copy Markdown

Summary

This adds paste support to the main terminal prompt.

A terminal-style website should handle pasted commands the same way a real terminal does: users often copy a command from docs, chat, or a note and expect it to appear at the prompt. This keeps the interaction lightweight while making the terminal easier to use for normal command entry.

Human Acceptance Test

  1. Check out this branch locally.

  2. Install dependencies if needed:

    npm install
  3. Start the site locally:

    npm start
  4. Paste this text into the local web terminal:

    help
    
  5. Verify that help appears at the prompt.

  6. Press Enter.

  7. Verify that the terminal runs the help command and prints the command list.

Tests

npm test

@craigStrive
craigStrive force-pushed the fix-terminal-paste-input branch from 7053c9d to c07fd5d Compare September 18, 2026 19:26
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