tparm dynamic variables broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ncurses (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I use the Python curses library for convenience, but this seems to be an ncurses bug as Python simply wraps the ncurses library.
As you can see from example below, the dynamic variable x gets stored as 4, but, when it's
recalled, 0 is returned instead of 4. This was on 22.04 and 20.04 with libncurses6 6.3-2.
I've confirm the behavior is correct on Fedora 36 with ncurses-
```
Python 3.10.6 (main, Nov 2 2022, 18:53:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>> curses.setupterm()
>>> curses.
b''
>>> curses.
b'0'
```
https:/ /invisible- island. net/ncurses/ man/terminfo. 5.html# h3-Parameterize d-Strings /invisible- island. net/personal/ bug-reports. html#low_ support
https:/