Dev server crash in next-code-frame when truncating multi-byte UTF-8 to terminal display width
The Next.js dev error overlay's Rust-based code frame panics with a byte-index boundary error when a source line contains multi-byte characters and is truncated based on terminal display columns. The crash aborts the dev server and is dependent on terminal width.
