| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…w build curses.window.get_wch, curses.window.get_wstr, curses.unget_wch, curses.erasewchar, curses.killwchar and curses.wunctrl now also work when Python is built against a non-wide curses library, on an 8-bit locale, where each character is a single byte in the relevant encoding. curses.ungetch now also accepts a one-character string, like curses.unget_wch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Documentation build overview3 files changed ± library/curses.html ± whatsnew/3.16.html ± whatsnew/changelog.html |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The wide-character curses functions and methods curses.window.get_wch, curses.window.get_wstr, curses.unget_wch, curses.erasewchar, curses.killwchar and curses.wunctrl now also work when Python is built against a non-wide curses library (ncurses, not ncursesw), on an 8-bit locale, where each character is a single byte in the relevant encoding.
curses.ungetch now also accepts a one-character string, like curses.unget_wch; on a wide-character build it can be any character (previously a multibyte character raised OverflowError).
This completes the build-transparent cell API added in gh-151757 and gh-152233.
🤖 Generated with Claude Code