Repository navigation
diag(qt): 记录到达会话的输入字节 (#155) - #209
Merged
Merged
Conversation
…PUT_LOG refs #155 Records the hex of every successful key-path send so an IME experiment can tell whether Ctrl-C produced any byte at all.
Codex Review SummaryThis 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.
内容
给 Qt 终端加可选的输入字节观测
TERMFORGE_QT_INPUT_LOG:键路径成功model_.send()时记录{bytes, hex},与已有的 IME 事件观测互补。默认关闭,不改变发送逻辑。用它得到的结论(#155 的 Ctrl-C 消费关系)
在同一 VM、同一固定拼音、我们的应用里:
ni'hao(IME 日志有 5 条 preedit);03);ni'hao之后没有新的 cancel/commit 事件 —— 组合也没有被取消。即:组合态下的 Ctrl-C 既没有到达我们的
keyPressEvent(没有03),也没有产生 IME 取消事件,被输入法/系统层吞掉了。这与本 issue 早前 N9 的观察一致("没有 C KeyPress、没有 03")。边界
Refs #155