In the Windows system, pressing Ctrl+C will automatically exit the terminal #3879

Closed
opened 2026-02-16 17:41:47 -05:00 by yindo · 2 comments
Owner

Originally created by @74596877 on GitHub (Dec 26, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

even if I modify the exit shortcut in the settings or set it to node.

OpenCode version

1.0.202

Steps to reproduce

1.Run opencode
2.Press Ctrl+C twice

Screenshot and/or share link

Image

Operating System

windows11

Terminal

PowerShell

Originally created by @74596877 on GitHub (Dec 26, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description even if I modify the exit shortcut in the settings or set it to node. ### OpenCode version 1.0.202 ### Steps to reproduce 1.Run opencode 2.Press Ctrl+C twice ### Screenshot and/or share link <img width="758" height="463" alt="Image" src="https://github.com/user-attachments/assets/4cb3f95a-b2e9-41b3-81ac-a14d6e2ffe10" /> ### Operating System windows11 ### Terminal PowerShell
yindo added the windowsopentuibug labels 2026-02-16 17:41:47 -05:00
yindo closed this issue 2026-02-16 17:41:48 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 26, 2025):

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

  • #5197: Ctrl+C behavior in Windows PowerShell
  • #5070: bug: exiting tui on windows has improper exit sequence handling
  • #5071: bug: ctrl+c exiting app even when prompt input isn't empty
  • #5990: Bug: Ctrl+C interruption in opencode causes terminal corruption with ANSI escape sequences
  • #2999: Provide means to disable Ctrl-C

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

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

@github-actions[bot] commented on GitHub (Dec 26, 2025): This issue might be a duplicate of existing issues. Please check: - #5197: Ctrl+C behavior in Windows PowerShell - #5070: bug: exiting tui on windows has improper exit sequence handling - #5071: bug: ctrl+c exiting app even when prompt input isn't empty - #5990: Bug: Ctrl+C interruption in opencode causes terminal corruption with ANSI escape sequences - #2999: Provide means to disable Ctrl-C Feel free to ignore if none of these address your specific case. For keybind-related issues, please also check our pinned keybinds documentation: #4997
Author
Owner

@Hona commented on GitHub (Feb 12, 2026):

ctrl+c handling is now in as of 1.1.60

@Hona commented on GitHub (Feb 12, 2026): ctrl+c handling is now in as of 1.1.60
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3879