Comments (7)
I don't know if this relates to / is same as #83
from pick.
For completeness, I also tested on my raspberry pi and it was reproducible:
$ pip list | grep pick
pick 2.1.0
$ python -V
Python 3.10.7
$ uname -a
Linux possum 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
$ cat /etc/debian_version
11.5
from pick.
Thanks for your report, I believe the problem is you're creating nested curses screens: pick
itself is also running inside a curses.wrapper
call.
from pick.
Perhaps pick
can accept an optional screen
parameter, if provided, use it instead of creating a new curses screen.
from pick.
That would make sense as it'd mean pick had done all the teardown type operations.
(and I've seen similar with a different menu module too)
I'd be happy to create a fork and give that a try (and make a PR if it works) if you'd like
from pick.
Sure! Go ahead
from pick.
That seems to fix it, at least in my limited use case (and shouldn't break your existing code path)
from pick.
Related Issues (20)
- Long title will not wrap and disappear off screen
- Default selections of multi-select HOT 1
- Question regarding selecting an option HOT 1
- Fix for VS Code
- I copied the sample code but don't know why the error is reported HOT 1
- Doesnt work with Python 3.12 HOT 5
- [REQUEST] add NUMPAD_ENTER for picking HOT 1
- How to show options horizontal and auto wrap row , Not vertical ?
- An error is reported after using pyinstaller to package and run the operation HOT 2
- Passing a tuple with single value causes every letter is an option instead of the whole value HOT 2
- Pick no longer works with lists that contain a dictionary HOT 2
- Pick no longer clears the page HOT 2
- Need full screen width option HOT 1
- input() after picking breaks the typing portion of input HOT 4
- Windows not working HOT 4
- Pick options which match the amount of terminal lines will hide the title text when picking options.
- Can it support other language? HOT 9
- A way to not clear screen when using in Curses? HOT 5
- quit using `q`, how to do it now that register_custom_handler is gone? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pick.