]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37738: Fix curses addch(str, color_pair) (GH-15071)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Aug 2019 10:49:13 +0000 (03:49 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2019 10:49:13 +0000 (03:49 -0700)
commit984226962bc35254551d92771b5c8fb074507903
tree3b506de94a8be45bf05f5967eb6ac2a570318c43
parent364a1d3125af6c0ff0a4bd2c8afe70fd38f30456
bpo-37738: Fix curses addch(str, color_pair) (GH-15071)

Fix the implementation of curses addch(str, color_pair): pass the
color pair to setcchar(), instead of always passing 0 as the color
pair.
(cherry picked from commit 077af8c2c93dd71086e2c5e5ff1e634b6da8f214)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst [new file with mode: 0644]
Modules/_cursesmodule.c