Closed snail-coupe closed 1 year ago
Some tests failed @snail-coupe
Ugh - I guess maybe something changed with 3.8?
As far as I can tell there is no good type I can use this, other than relying on possibly undocumented or changing internal types.
Would it be acceptable if I just reverted:
https://github.com/wong2/pick/pull/92/commits/0bcd39b0b75ad928298b5d8755e97ffaaf08cb7e
and went back to using Any
I'll try to figure that out
Thanks for your contribution!
v2.2.0 released
Thank you too. I know it was only a small change and you ended up doing some typing stuff anyway, but it always feels good to try and contribute back.
I believe this fixes issue #91
adds optional stdscr parameter to pick() and if set takes a modified code path that skips normal initialisation but instead just hides (and unhides) the cursor.
This works for my test harness and running pytest still passes (as it should as won't touch this code path).
I've not caught the case where the user passes a bad paramter, or they haven't enabled things like cbreak.