diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-08-14 10:31:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 10:31:43 (GMT) |
commit | 077af8c2c93dd71086e2c5e5ff1e634b6da8f214 (patch) | |
tree | 9626735932f47ba6938ca3083acb67a5a86800dc /Misc | |
parent | 7e479c82218450255572e3f5fa1549dc283901ea (diff) | |
download | cpython-077af8c2c93dd71086e2c5e5ff1e634b6da8f214.zip cpython-077af8c2c93dd71086e2c5e5ff1e634b6da8f214.tar.gz cpython-077af8c2c93dd71086e2c5e5ff1e634b6da8f214.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst b/Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst new file mode 100644 index 0000000..7e70a9c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-08-01-17-11-16.bpo-37738.A3WWcT.rst @@ -0,0 +1,2 @@ +Fix the implementation of curses ``addch(str, color_pair)``: pass the color +pair to ``setcchar()``, instead of always passing 0 as the color pair. |