You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pressing Ctrl+C in input field outputs ANSI escape sequences/garbled text #7062
Description: When attempting to use the Ctrl+C keyboard shortcut within the opencode input field (specifically while using the Sisyphus interface), the terminal outputs a long string of garbled ANSI escape codes (e.g., [555;20;24M...) instead of copying text or sending an interrupt signal.
Steps to Reproduce:
Open opencode in a Windows PowerShell terminal.
Navigate to the input/chat box.
Press Ctrl+C.
Observe the garbled text outputting at the command prompt.
Expected Behavior: The shortcut should either copy the selected text or clear the current input line without printing raw terminal escape sequences.
Actual Behavior: A long string of numeric ANSI codes is printed to the terminal, making the interface difficult to use and cluttering the command line.
I am trying to use the opencode on the anti-gravity code editor via lightning.ai, but there are still random numbers generated even after changing the version.
Activity
github-actions commentedon Jan 6, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
Hona commentedon Feb 12, 2026
ctrl+c handling is now in as of 1.1.60
Mohamed-Gomaa30 commentedon Apr 2, 2026
I am trying to use the opencode on the anti-gravity code editor via lightning.ai, but there are still random numbers generated even after changing the version.