mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-03 13:23:35 +00:00
truncateLine could cut a surrogate pair when the maxChars boundary fell between a high surrogate and its paired low surrogate, producing a broken unpaired surrogate in grep tool output.