New submission from Jeffrey Kintscher <websur...@surf2c.net>:

ncurses 6.1 adds extended color functions to support terminals with 256 colors 
(e.g. xterm-256color). The extended functions take color pair values that are 
signed integers because the existing functions only take signed 16-bit values.

My goal with this issue is to transparently use the ncurses extended color 
functions when compiling with ncurses 6.1 or newer. This should be 
straightforward and transparent to curses module users because the short int 
restrictions are in the ncurses library and not in the curses module API.

This will fix the problems observed in issue #36630 but is broader, which is 
why I created a separete issue. I will work on this and post a PR whit it is 
ready.

----------
components: Library (Lib)
messages: 342974
nosy: websurfer5
priority: normal
severity: normal
status: open
title: Add support for extended color functions in ncurses 6.1
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36982>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to