mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[Patch #739124] Add use_default_colors() to curses module
This commit is contained in:
parent
a54b92b2eb
commit
69f31eb80c
6 changed files with 44 additions and 3 deletions
|
@ -181,6 +181,9 @@ def module_funcs(stdscr):
|
|||
curses.pair_content(curses.COLOR_PAIRS)
|
||||
curses.pair_number(0)
|
||||
|
||||
if hasattr(curses, 'use_default_colors'):
|
||||
curses.use_default_colors()
|
||||
|
||||
if hasattr(curses, 'keyname'):
|
||||
curses.keyname(13)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue