Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]K键语音输入没做判断 #283

Closed
1 of 2 tasks
Ryan650 opened this issue Feb 1, 2025 · 1 comment
Closed
1 of 2 tasks

[Bug]K键语音输入没做判断 #283

Ryan650 opened this issue Feb 1, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Ryan650
Copy link

Ryan650 commented Feb 1, 2025

发生了什么

在聊天选项输入字符时若碰到“K”键会直接开始语音录制,不管光标在不在输入框内

如何复现?

选择聊天选项 将光标移至文本输入框 输入带K的文本

AstrBot 版本与部署方式

Latest AstrBot 3.4.16
Docker Compose(Latest Docker Desktop)
macOS 15.2 on aarm64 MacBookAir10,1

操作系统

macOS

额外信息

Image

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@Ryan650 Ryan650 added the bug Something isn't working label Feb 1, 2025
@Ryan650 Ryan650 changed the title [Bug] [Bug]K键语音输入没做判断 Feb 1, 2025
@Fridemn Fridemn closed this as completed Feb 28, 2025
@Fridemn Fridemn reopened this Feb 28, 2025
Fridemn added a commit that referenced this issue Feb 28, 2025
1. 为防止输入一大堆 k,改 k 键为 Ctrl 键;
2. 改为长按录音,松手结束;
3. 为防止误触改为只有点击输入框之后才会生效
Soulter added a commit that referenced this issue Feb 28, 2025
@Fridemn
Copy link
Collaborator

Fridemn commented Mar 1, 2025

已实现,关闭

@Fridemn Fridemn closed this as completed Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants