Skip to content

Conversation

srfwx
Copy link
Contributor

@srfwx srfwx commented Sep 26, 2019

Even the simplest example from the README.rst leads to unbound memory usage growth in my environment.

Instead of using the prompt() function from prompt_toolkit.shortcuts, I propose to use the prompt() method from the PromptSession() class.

…nction

Using the prompt() function from prompt_toolkit.shortcuts led to unbounded memory growth.
We now create a PromptSession() instance and use its prompt() method which takes the same arguments as the the former prompt() function.
Uses PromptSession() class from prompt_toolkit instead of prompt() fu…
@auvipy auvipy merged commit 3dc44d9 into click-contrib:master Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants