Skip to content

Paste (Right-click & Ctrl+V) not working in OpenCode on Windows terminals #35258

Closed as not planned

Description

@aadiexii

Description

Pasting text into OpenCode does not work in Windows terminal environments. Both right-click paste and Ctrl+V are non-functional - right-click either does nothing or pastes into the wrong context, and Ctrl+V is completely ignored. This is a significant UX blocker since copying commands/prompts from outside and pasting them into OpenCode is a very common workflow.

Plugins

None

OpenCode version

1.17.13

Steps to reproduce

  1. Open OpenCode in CMD or Git Bash on Windows
  2. Copy any text to clipboard (e.g. from browser or another window)
  3. Try right-click inside the OpenCode terminal UI → text is not pasted
  4. Try Ctrl+V → also does not paste
  5. Expected: clipboard content should appear in the input; Actual: nothing happens

Screenshot and/or share link

No response

Operating System

Windows (CMD and Git Bash)

Terminal

CMD (cmd.exe) and Git Bash

Activity

  1. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  2. aadiexii commented on Jul 4, 2026

    @aadiexii
    Author

    @Hona should I start working on this?

  3. qwjesus commented on Aug 7, 2026

    @qwjesus

    shfit+right click

  4. disarticulate commented on Sep 12, 2026

    @disarticulate

    copy paste doesnt work anywhere because who ever decided to override normal terminal behavior fails to read issues.

  5. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions