This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add use_default_colors support to curses module.
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, joergl
Priority: normal Keywords: patch

Created on 2003-05-17 12:38 by joergl, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
use_default_colors.patch joergl, 2003-05-17 12:38
Messages (2)
msg43807 - (view) Author: Jörg Lehmann (joergl) Date: 2003-05-17 12:38
This trivial patch adds support for the
use_default_colors function 
to the curses module, if supported by the (n)curses
library.
This functionality is needed, if one wants to use
transparency in
a ncurses application.

Included is a corresponding patch for the curses test
module and the
curses module's documentation.

It would be nice, if this patch could be included in
Python2.3.

msg43808 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2003-08-13 23:14
Logged In: YES 
user_id=11375

Checked in to the 2.4 CVS tree.  One small change was required: 
the method was defined with METH_VARARGS, but because it 
takes no arguments, it should have used METH_NOARGS.
Thanks for your contribution!

I wish I'd known about this patch in time to check it into 2.3, but 
no one assigned it to me.  Off to look for any other dangling 
curses patches...
History
Date User Action Args
2022-04-10 16:08:49adminsetgithub: 38517
2003-05-17 12:38:44joerglcreate