]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37738: Fix curses addch(str, color_pair) (GH-15071) (GH-15273)
authorVictor Stinner <vstinner@redhat.com>
Wed, 14 Aug 2019 11:00:27 +0000 (13:00 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2019 11:00:27 +0000 (13:00 +0200)
commit7eef81ee766c8df23e522b4e46a930cc1d360ad7
tree3770f8be34f25a3a1f99f35f0b05c717efcba642
parent15b6d0a712c08557a605f49034f8ad392985144c
bpo-37738: Fix curses addch(str, color_pair) (GH-15071) (GH-15273)

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)
Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst [new file with mode: 0644]
Modules/_cursesmodule.c