[New-bugs-announce] [issue39273] ncurses does not include BUTTON5_* constants

Michael Yoo report at bugs.python.org
Thu Jan 9 01:59:01 EST 2020


New submission from Michael Yoo <michael.yoo at akunacapital.com>:

Hi,

Recently I was working with ncurses, and when handling the mouse scroll events, I noticed that the curses library does not include the BUTTON5_* macros provided by ncurses. On my system, BUTTON5 corresponds to the mouse down event.

Is there a reason for this, or has it just not been updated? If so, the expectation is that it exists.

Relevant source location: https://github.com/python/cpython/blob/2bc3434/Modules/_cursesmodule.c#L4668

----------
components: Library (Lib)
messages: 359657
nosy: michael.yoo at akunacapital.com
priority: normal
severity: normal
status: open
title: ncurses does not include BUTTON5_* constants
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39273>
_______________________________________


More information about the New-bugs-announce mailing list