mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 23:51:34 +00:00
* fix(process): report actual UTF-8 byte count in send-keys message Replace string.length (UTF-16 code units) with Buffer.byteLength(data, 'utf8') so the reported byte count matches the actual bytes sent to process stdin. For ASCII key sequences the values are identical. For non-ASCII text sent via literal key data, string.length underreports the actual UTF-8 byte count. * test(process): cover UTF-8 send-keys byte count Co-authored-by: 陈志强0668000989 <chen.zhiqiang1@xydigit.com> * ci: prune stale max-lines baseline --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>