[Patches] [ python-Patches-739124 ] Add use_default_colors support to curses module.

SourceForge.net noreply at sourceforge.net
Wed Aug 13 17:14:33 EDT 2003


Patches item #739124, was opened at 2003-05-17 08:38
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=739124&group_id=5470

Category: Library (Lib)
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jörg Lehmann (joergl)
Assigned to: A.M. Kuchling (akuchling)
Summary: Add use_default_colors support to curses module.

Initial Comment:
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.



----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2003-08-13 19:14

Message:
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...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=739124&group_id=5470



More information about the Patches mailing list