Fix UTF-16 surrogate pair handling on Windows input (#1160)

Fix(Windows): Correctly handle UTF-16 surrogate pairs for non-BMP input.

Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
739C1AE2
2025-12-06 17:59:43 +08:00
committed by GitHub
parent d9c62b3678
commit 183a426efa
2 changed files with 11 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ Next
output. Thanks @zozowell in #1064.
- Fix vertical `ftxui::Slider`. The "up" key was previously decreasing the
value. Thanks @its-pablo in #1093 for reporting the issue.
- Fix Windows UTF-16 key input handling. Emoji and other code points outside the
Basic Multilingual Plane (BMP) are now correctly processed. Thanks @739C1AE2
in #1160 for fixing the issue.
### Dom
- Fix integer overflow in `ComputeShrinkHard`. Thanks @its-pablo in #1137 for