classification
Title: ncurses does not include BUTTON5_* constants
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, michael.yoo@akunacapital.com
Priority: normal Keywords: patch

Created on 2020-01-09 06:59 by michael.yoo@akunacapital.com, last changed 2020-01-14 06:46 by ZackerySpytz.

Pull Requests
URL Status Linked Edit
PR 17996 open ZackerySpytz, 2020-01-14 06:45
Messages (1)
msg359657 - (view) Author: Michael Yoo (michael.yoo@akunacapital.com) Date: 2020-01-09 06:59
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
History
Date User Action Args
2020-01-14 06:46:35ZackerySpytzsetnosy: + ZackerySpytz

versions: - Python 3.6, Python 3.7, Python 3.8
2020-01-14 06:45:18ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request17400
2020-01-09 06:59:01michael.yoo@akunacapital.comcreate