dreitier / dreitier/backmon

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

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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 https://github.com/nsf/termbox-go/issues/233.
Not using `defer termbox.Close()` misses the console's `reset` operation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.