`ask_user` tool should allow Ctrl-G to support long freeform answers
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
To support multi-paragraph long freeform answers, allow the user to compose a response to the `ask_user` tool in their $EDITOR
### Proposed solution
When describing situations to Copilot CLI, it is often helpful to provide additional context and information.
Currently, if an `ask_user` is going in the wrong direction, the user can either type in the freeform answer spot, which works poorly if more than few lines, for example, #3722, or the user can Ctrl-C to kill the `ask_user` tool, then hit Ctrl-C a second time to stop Copilot from continuing, and then finally type Ctrl-G to enter into $EDITOR to compose the desired response to the `ask_user`.
Additionally, since the user had to leave the `ask_user` tool with Ctrl-C, if the user later decides they want to respond to the `ask_user` tool with a non-freeform answer, the option is gone since the tool is no longer running.
The user experience would be improved if Ctrl-G were allowed _during_ an `ask_user` tool call.
### Example prompts or workflows
Here's a screenshot of an example of the issue:
### Additional context
_No response_
貢獻指南
研究方向
Start at the ask_user tool's input handling and inspect the existing Ctrl-G and $EDITOR flow in Copilot CLI. Confirm that Ctrl-G opens the editor during an active ask_user call, while non-freeform response options remain available afterward; add or run the relevant interaction tests if present.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100