mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-09 02:53:09 -05:00
termWriter converted each chunk of the SSH output to a JS string on its own which incorrectly handles multi-byte characters across chunk boundaries. Move it to a separate cmd/tsconnect/termwriter package with tests, and hold back incomplete sequences for the next write. Fixes #22007 Signed-off-by: Aarnav Tale <git@tale.me>