]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87881: Document the result of curses inch() and getbkgd() (GH-152488)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 28 Jun 2026 14:03:22 +0000 (17:03 +0300)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2026 14:03:22 +0000 (17:03 +0300)
commitd831a690766e92b3be5e40134f64407bd041bcbf
tree8c3e23f756a386c41d8757563879e4488eadde55
parent499d31f52d22bb753fcafb3cbc6c7d712666cc8c
gh-87881: Document the result of curses inch() and getbkgd() (GH-152488)

Explain the character/attribute bit layout and how to extract the parts
(A_CHARTEXT and A_ATTRIBUTES bit-masks, pair_number() for the color pair),
or use in_wch() to get a complexchar.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/curses.rst