github / github/copilot-cli

left/right arrow keyboard buffer

未关闭
#4,274 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

When moving the cursor in a prompt or on the `other` part of a multiple choice, the cursor doesn't stop when the finger is raised from the left/right key but the keeps going until the keyboard buffer is completely flushed.

### Proposed solution

stop the editor cursor movement (ignore the rest of the buffer) when the user raises his finger from the key

### Example prompts or workflows

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先定位 prompt 编辑器和多项选择“other”输入的处理逻辑,然后跟踪左右键事件是如何被缓冲的。完成的标准是松开按键时光标移动停止,并且忽略缓冲区中剩余的任何移动;在所描述的两种工作流中都进行验证。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。