Repository navigation
Commit 625ff6a
fix(web): terminal paste keeps a leading U+FEFF without bracketed paste
The Ghostty core decoded encoder output with a default TextDecoder, which
strips a leading UTF-8 BOM. Unbracketed pastes starting with U+FEFF lost
that character before reaching the PTY. Decode with ignoreBOM so the bytes
the encoder produced pass through unchanged.
Fixes #36001
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 148c185 commit 625ff6a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments