缺少 /skills 和 /plugin 命令,以及 Ctrl+C 意外退出问题 #4421

Closed
opened 2026-02-16 17:43:44 -05:00 by yindo · 1 comment
Owner

Originally created by @dewu0224 on GitHub (Jan 8, 2026).

Originally assigned to: @rekram1-node on GitHub.

问题描述

  1. 缺少常用命令:用户期望有 /skills/plugin 命令,但实际不存在
  2. Ctrl+C 意外退出:在 CLI 交互中不小心按到 Ctrl+C 会直接退出工具,这与 Claude Code 和 Claude Code 的行为不一致(它们不会因为 Ctrl+C 而退出)

预期行为

  • 添加 /skills 命令用于管理技能(类似于其他 AI IDE 的命令面板)
  • 添加 /plugin 命令用于管理插件
  • Ctrl+C 应该只是取消当前输入或操作,而不是直接退出 CLI 工具(与其他主流 AI 编程工具保持一致)

环境信息

  • 操作系统:Windows
  • OpenCode 版本:最新
Originally created by @dewu0224 on GitHub (Jan 8, 2026). Originally assigned to: @rekram1-node on GitHub. ## 问题描述 1. **缺少常用命令**:用户期望有 `/skills` 和 `/plugin` 命令,但实际不存在 2. **Ctrl+C 意外退出**:在 CLI 交互中不小心按到 Ctrl+C 会直接退出工具,这与 Claude Code 和 Claude Code 的行为不一致(它们不会因为 Ctrl+C 而退出) ## 预期行为 - 添加 `/skills` 命令用于管理技能(类似于其他 AI IDE 的命令面板) - 添加 `/plugin` 命令用于管理插件 - Ctrl+C 应该只是取消当前输入或操作,而不是直接退出 CLI 工具(与其他主流 AI 编程工具保持一致) ## 环境信息 - 操作系统:Windows - OpenCode 版本:最新
yindo added the windowsopentui labels 2026-02-16 17:43:44 -05:00
yindo closed this issue 2026-02-16 17:43:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

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

  • #6189: In the Windows system, pressing Ctrl+C will automatically exit the terminal
  • #6912: Ctrl+C does not disable mouse tracking, causing raw escape sequences to flood terminal (Windows)
  • #7062: Pressing Ctrl+C in input field outputs ANSI escape sequences/garbled text
  • #2999: Provide means to disable Ctrl-C
  • #4997: Keybinds (umbrella issue that includes Ctrl+C handling)

These issues address the Ctrl+C unexpected exit behavior you're experiencing on Windows.

Additionally, regarding the /skills and /plugin command requests:

  • #6985: Add .claude/commands/ compatibility (skills-related feature)
  • #6177: Skill discovery paths documentation

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

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of existing issues. Please check: - #6189: In the Windows system, pressing Ctrl+C will automatically exit the terminal - #6912: Ctrl+C does not disable mouse tracking, causing raw escape sequences to flood terminal (Windows) - #7062: Pressing Ctrl+C in input field outputs ANSI escape sequences/garbled text - #2999: Provide means to disable Ctrl-C - #4997: Keybinds (umbrella issue that includes Ctrl+C handling) These issues address the Ctrl+C unexpected exit behavior you're experiencing on Windows. Additionally, regarding the /skills and /plugin command requests: - #6985: Add .claude/commands/ compatibility (skills-related feature) - #6177: Skill discovery paths documentation Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4421