Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

If the network is already configured, the error text to that effect prints over the windows #151

Open
rminnich opened this issue Sep 3, 2020 · 1 comment

Comments

@rminnich
Copy link
Member

rminnich commented Sep 3, 2020

Describe the bug
if you start webboot, and exit, and start again, the net config will find out the net is already configured,
and print a message, but the message appears outside any text box

To Reproduce
start webboot, configure network, exit, start it again

Expected behavior
messages must always appear in a text box

@GBA-17
Copy link
Collaborator

GBA-17 commented Sep 30, 2020

I think some of the packages call fmt.Println(). One solution would be redirect stdout to a buffer, and then print the buffer contents in the error handler.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants