[issue43716] curses.pair_number() function incorrect value under Windows

2021-04-09 Thread Peter J. Farley III
Peter J. Farley III added the comment: Thank you for responding. I will pursue the issue with the windows-curses and/or PDCurses team. Peter On Wed, Apr 7, 2021 at 12:57 PM Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > The curses module is not supported on Windows. w

[issue43716] curses.pair_number() function incorrect value under Windows

2021-04-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The curses module is not supported on Windows. windows-curses is a third-party library. Use the corresponding bug tracker to report an issue with windows-curses. -- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved status: ope

[issue43716] curses.pair_number() function incorrect value under Windows

2021-04-03 Thread Peter J. Farley III
New submission from Peter J. Farley III : curses.pair_number() result under Windows (console or Terminal window) value must be shifted by 16 bits to be valid to use as input to the curses.pair_content() function. If the pair number result is not shifted, the call to curses.pair_content() fai