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

Errors during webserver's startup scrambles the console when running in foreground #12

Open
schakko opened this issue Aug 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@schakko
Copy link
Contributor

schakko commented Aug 16, 2022

When the webserver crashes during startup (e.g. b/c of a configured but missing certificate file), the whole console output is scrambled if -background is not used.

Using defer termbox.Close() clears the whole screen. There is currently no other solution available, see nsf/termbox-go#233.
Not using defer termbox.Close() misses the console's reset operation.

@schakko schakko added the bug Something isn't working label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant