Repository navigation
fix(terminal): alternate 屏 Ctrl+F 透传远端,不再弹本地搜索(#108 反馈三) - #244
Merged
Merged
Conversation
0.7.9-beta.3 的 alternate 屏热键透传覆盖了裸 ↑ 与命令历史热键 (commandHistoryHotkeyPassthrough),但漏了新加的 Ctrl+F→终端搜索 分流:resolveCtrlFRoute 只有 ghost/传输两个门,vim/less/tmux copy-mode 里 Ctrl+F(远端向前翻页 0x06)仍被 openTerminalSearch 抢占。测试者 10-26 在 beta.3 实测复现(主缓冲 ✅ / vim ❌)。 resolveCtrlFRoute 增加 alternateActive 门(优先级仅低于传输占用, ghost 在 alternate 屏本就被 suggestionGuard 抑制,实际不会同时出现); 调用处传 terminal.buffer.active.type。本地搜索由可配置热键 (默认 Ctrl+Shift+F)全场景兜底,与 beta.3 已验证口径一致。 - ghostAcceptKey.ts: 路由纯函数补门 + 注释 - App.vue: 调用处传 alternateActive - ghostAcceptKey.spec.ts: alternate 屏 3 组合 + 未传参回归共 2 例 - CHANGELOG: Unreleased 双语条目 验证:pnpm --dir frontend test 2154 通过 / typecheck / build 全绿。
Open
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.
跟进
Closes the code-side follow-up of #108(反馈三):0.7.9-beta.3 的 alternate 屏热键透传覆盖了裸 ↑ 与命令历史热键,但漏了 Ctrl+F→终端搜索分流,vim/less/tmux copy-mode 下 Ctrl+F(远端向前翻页 0x06)仍被本地搜索框抢占。测试者 10-26 在 beta.3 实测复现(主缓冲 ✅ / vim ❌)。
改动
可配置热键(默认 Ctrl+Shift+F)保持全场景打开本地搜索,与 beta.3 已验证口径一致。
验证