Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99975
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-12-03 09:11 -0800 |
| References | <4c9dc771-59f4-4f1e-902e-fc2e7dfa2677@googlegroups.com> <mailman.173.1449150251.14615.python-list@python.org> |
| Message-ID | <31242786-b25f-4990-b75c-8b9d685b45d0@googlegroups.com> (permalink) |
| Subject | Re: Are there any plans to support nCurses 6.0 with Python? |
| From | eclectic959@gmail.com |
On Thursday, December 3, 2015 at 8:44:30 AM UTC-5, Mark Lawrence wrote: > On 03/12/2015 12:30, eclectic959@gmail.com wrote: > > The GNU Project has announced the release of nCurses 6.0. > > > > With it, Python curses would be able to support 256 colors instead of the current 8 or 16. > > > > I've discovered that a pre-release of Fedora 24 includes ncurses 6.0. It is not usable by Python programs, such as my character-mode emulation of pixel-mode WxPython (available as "tsWxGTUI_PyVx" on GitHub) which creates a 71 color palette but will not work (its has been disabled) with the existing 16-color curses because text attributes (such as underline) partially overlay the foreground-background color-pair attributes. > > > > Work is all ready being done to support building Python with ncurses6, > see https://bugs.python.org/issue25720. Whether this alone meets your > needs or an enhancement request on the bug tracker against 3.6 is > required I'm really not qualified to say. > > -- > My fellow Pythonistas, ask not what our language can do for you, ask > what you can do for our language. > > Mark Lawrence ncurses6 provides both an application binary interface for ncurses6.0 an one for ncurses5.0. Perhaps it will take an enhancement request to adopt the ABI 6.0 that su[prts 256 colors.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Are there any plans to support nCurses 6.0 with Python? eclectic959@gmail.com - 2015-12-03 04:30 -0800
Re: Are there any plans to support nCurses 6.0 with Python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-03 13:43 +0000
Re: Are there any plans to support nCurses 6.0 with Python? eclectic959@gmail.com - 2015-12-03 09:11 -0800
csiph-web