Repository navigation
Commit 922b7f7
gh-160518: Fix hz encoder dropping half of the ~~ escape (GH-160519)
Write both bytes of the escape before consuming the input character, so
that a retry after the output buffer is enlarged starts at the tilde.
(cherry picked from commit 1259f16)
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
1 parent d67f2a9 commit 922b7f7
2 files changed
Lines changed: 13 additions & 0 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
95 | 105 | | |
96 | 106 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments