Repository navigation
fix(terminal): keep touch selection free of custom context menus - #340
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
终端命令块的长按事件仍会打开自定义菜单;触摸生成的兼容鼠标事件也可能绕过原有的触摸判断。本次让触摸/笔长按保留原生选字行为,跳过终端自定义菜单,并继续保留 #333 阻止 xterm 清空原生选区的处理。
通过
sourceCapabilities.firesTouchEvents识别触摸生成的兼容鼠标事件;其余事件继续使用已有的pointerType和前序输入跟踪。Tab 长按菜单独立保留,SFTP 菜单无改动。入口影响:
验证:
npm test:123 个测试文件、1413 项测试通过。npm run build通过。git diff --check通过。环境缺少 Rust/Cargo,未完成 Rust 检查以及 Tauri / headless 原生启动验证。安卓真机上的蓝色选字手柄尚未复验。