You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-153862: Rebuild curses window.inch() from the wide cell
On a wide build inch() derived its result from winch(), whose character
is the whole code point rather than a locale byte, so a code point past
0xff overflowed into the color field and past 0xffff into the attribute
bits. Read the cell with win_wch() and build the chtype from the locale
byte plus the attributes and color pair reported by getcchar(). The
character is 0 when it has no single-byte form; win_wch() and getcchar()
failures now raise.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments