feat(platform/linux): add CJK ime support#27
Merged
cloudwu merged 1 commit intocloudwu:masterfrom Oct 9, 2025
Merged
Conversation
Owner
|
看截图想到游戏结束后 upkeep cube 的图示似乎忘记清理了。 这个卡片列表界面感觉也应该清理,但似乎留着也没太大问题。 |
Contributor
Author
|
确实没有清理。我还以为是故意的。显得卡面丰富:) |
Contributor
Author
Owner
|
咦。我昨天修了呀? cloudwu/deepfuture@bd08739 为什么没起效果? 这是数据问题还是显示一致性问题?我认为数据一直都是对的。 显示问题在上述 commit 新加的 card.clear_upkeep() 清理;数据之前在 card.setup() 就重置了。 |
Owner
|
cloudwu/deepfuture@7ee6517 我把数据结构搞错了 :( 这里 key 是 id ,昨天当成 value 是 id 了。 因为 key value 都是 integer ,所以运行没报错。 |
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.

sokol_app 只支持 xim 前端, 所以没有实现 Linux 版本的
set_ime_font, 且 pre-dit 也没办法定位到光标位置,只能设置候选框位置。目前在 fcitx5 和 fcitx5-frontend-xim 下测试通过。Linux 比较复杂,不确定是否覆盖了所有场景,先这样。