Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms are rendered mulitple times #43

Open
gpruss opened this issue Feb 10, 2025 · 0 comments
Open

Forms are rendered mulitple times #43

gpruss opened this issue Feb 10, 2025 · 0 comments

Comments

@gpruss
Copy link

gpruss commented Feb 10, 2025

When a user task with form input is cancelled and executed again, the form is rendererd twice, thrice, etc. until the CLI runs out of space and raises an error: "addwstr() returned ERR". If the form is present multiple times it is bound to fail validation.

To "reset" the form, it is necessary to cancel the user task, save the progress (if desired), quit out of the CLI and restart it.

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

No branches or pull requests

1 participant