mirror of
https://github.com/python/cpython.git
synced 2026-07-26 11:52:27 -04:00
499d31f52d
Read input with get_wch() and the window back with in_wch(), so combining characters and characters outside the locale encoding now work where curses has wide-character support. edit() passes non-ASCII characters to validate() as strings, keeping ASCII and key codes as integers so existing validators keep working. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>