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

feat(MyMsgInput):支持执行代码 #5782

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shimoranla
Copy link
Collaborator

@shimoranla shimoranla commented Mar 4, 2025

PR 改动

  • 为 MyMsgInput 增加 Button3
  • 现在支持为 Button 附加 Action,使其支持执行特定代码(相当于支持点击时复制更新命令了)
  • Button2 按下后不会自动关闭(为了和自动复制更新命令配合使用)
  • 取消按钮改为 Button3 避免取消被放在中间产生奇怪的观感

拿 VSCode 写的,如果有啥 Bug 或者对部分不太满意请踢我一脚

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 · 优化 🟨 中 优先度:中 labels Mar 4, 2025
@LTCatt
Copy link
Member

LTCatt commented Mar 4, 2025

umm 取消按钮改为 Button3 的话……
还没看代码,不过现有的有两个按钮的 MyMsgInput 应该是可以按 Esc 取消的,那 Esc 取消逻辑那儿需要改么?

@shimoranla
Copy link
Collaborator Author

umm 取消按钮改为 Button3 的话…… 还没看代码,不过现有的有两个按钮的 MyMsgInput 应该是可以按 Esc 取消的,那 Esc 取消逻辑那儿需要改么?

🤔 原来 PCL 还支持快捷键的?
最新的提交应该做掉了,龙猫找个时间看看是不是预期的实现?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· 优化 处理中 开发者正在调查或处理该项 🟨 中 优先度:中
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants