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

Add Application.Shutdown to after the program for the samples #30

Open
OnurGumus opened this issue Jul 30, 2024 · 0 comments
Open

Add Application.Shutdown to after the program for the samples #30

OnurGumus opened this issue Jul 30, 2024 · 0 comments

Comments

@OnurGumus
Copy link

In Terminal.Gui v1, it is almost a mandatory for proper cleanup to call Application.Shutdown after everything ends for proper cleanup. Otherwise hitting quitkey, console keeps mouse alive on linux.
e.g.

Program.mkProgram init update view
|> Program.run

Application.Shutdown()
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