Skip to content

Ctrl+C behavior in Windows PowerShell #5197

Closed as duplicate
Closed as duplicate

Description

@segaduck

Description

Thank you guys first. I switch from ClaudeCode to OpenCode and I love it a lot !!!
But 1 issue is bothering me for a long time:
in PowerShell terminal (ver. 7.5.4), everytime I press "Ctrl+c", the OpenCode session will be terminate immediately and I have to use "opencode -c" to go back to my sesssion again. becasue the Ctrl+C is the mostly freqently use hot key for copying text, is it a bug? Or It is just my fault missing anything needed to config well ?

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Dec 7, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Dec 7, 2025

    @github-actions
    Contributor

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

  3. dogmatic69 commented on Dec 7, 2025

    @dogmatic69

    exact duplicate of #2999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions