Repository navigation
feat(qt): 功能键编码 (#30) - #240
Merged
Merged
Conversation
The Qt widget uses the same SS3 and xterm tilde table as the Win32 encoder, so both product entries send identical function-key bytes.
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 产品入口(与 Win32 shell 的编码表一致):
ESC O P/Q/R/SESC [ 15~ / 17~ / 18~ / 19~ / 20~ / 21~ / 23~ / 24~两者共用同一张表(Win32 侧已在 #239 合入并测试)。
验证
build-qt构建通过;本地 Qt 冒烟status: passed(算术 750、child exit 37、清理已验证)。另核验terminal_widget.hpp中无原始 ESC 字节(0),全部为文本转义。边界
keyboard_test覆盖同一张表。Refs #30