Skip to content

feat(platform/linux): add CJK ime support#27

Merged
cloudwu merged 1 commit intocloudwu:masterfrom
yuchanns:feat/ime-support-linux
Oct 9, 2025
Merged

feat(platform/linux): add CJK ime support#27
cloudwu merged 1 commit intocloudwu:masterfrom
yuchanns:feat/ime-support-linux

Conversation

@yuchanns
Copy link
Contributor

@yuchanns yuchanns commented Oct 9, 2025

sokol_app 只支持 xim 前端, 所以没有实现 Linux 版本的 set_ime_font, 且 pre-dit 也没办法定位到光标位置,只能设置候选框位置。

目前在 fcitx5 和 fcitx5-frontend-xim 下测试通过。Linux 比较复杂,不确定是否覆盖了所有场景,先这样。

image

@cloudwu cloudwu merged commit 76186a4 into cloudwu:master Oct 9, 2025
5 checks passed
@yuchanns yuchanns deleted the feat/ime-support-linux branch October 9, 2025 06:03
@cloudwu
Copy link
Owner

cloudwu commented Oct 9, 2025

看截图想到游戏结束后 upkeep cube 的图示似乎忘记清理了。

这个卡片列表界面感觉也应该清理,但似乎留着也没太大问题。

@yuchanns
Copy link
Contributor Author

yuchanns commented Oct 9, 2025

确实没有清理。我还以为是故意的。显得卡面丰富:)

@yuchanns
Copy link
Contributor Author

yuchanns commented Oct 10, 2025

image 新开了一局选的母星,把上一局的 upkeep 带过来了,这算 bug 吧?

@cloudwu
Copy link
Owner

cloudwu commented Oct 10, 2025

咦。我昨天修了呀? cloudwu/deepfuture@bd08739 为什么没起效果?

这是数据问题还是显示一致性问题?我认为数据一直都是对的。

显示问题在上述 commit 新加的 card.clear_upkeep() 清理;数据之前在 card.setup() 就重置了。

@cloudwu
Copy link
Owner

cloudwu commented Oct 10, 2025

cloudwu/deepfuture@7ee6517 我把数据结构搞错了 :( 这里 key 是 id ,昨天当成 value 是 id 了。

因为 key value 都是 integer ,所以运行没报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants