◐ Shell
clean mode source ↗

gh-81163: Add support for extended color functions in ncurses 6.1 by hpjansson · Pull Request #17536 · python/cpython

ZackerySpytz

…t using the extended color functions in ncurses 6.1 when available.

color_content
color_number
init_color
init_pair
…ons to make them simpler and more maintainable
…, so use #if instead of #ifdef.
…ndicate whether extended colors are suported by the underlying ncurses library.
Use preconditions to ensure it's in range.
This got lost during the rebase. Also change versionadded from 3.8
to 3.10.

ned-deily

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request

Aug 4, 2020
…ythonGH-17536)

Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request

Aug 20, 2020
…ythonGH-17536)

Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>

xzy3 pushed a commit to xzy3/cpython that referenced this pull request

Oct 18, 2020
…ythonGH-17536)

Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>

@cmang cmang mentioned this pull request

May 18, 2024

@terryjreedy terryjreedy changed the title bpo-36982: Add support for extended color functions in ncurses 6.1 gh-81163: Add support for extended color functions in ncurses 6.1

May 18, 2024