fix(render): 修正渲染缓冲区中多字节字符处理逻辑#39
Merged
fslongjin merged 2 commits intoDragonOS-Community:masterfrom Jun 12, 2025
Merged
Conversation
将字符长度计算方式改为基于grapheme clusters,并添加边界检查防止越界。 Signed-off-by: longjin <longjin@DragonOS.org>
移除多个文件中未使用的导入语句,优化代码结构。 Signed-off-by: longjin <longjin@DragonOS.org>
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.
commit a16d7dd
Author: longjin longjin@DragonOS.org
Date: Thu Jun 12 01:23:34 2025 +0800
commit 5adb705
Author: longjin longjin@DragonOS.org
Date: Wed Jun 11 23:54:19 2025 +0800