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

output is not cleared if second run outputs nothing #264

Closed
dear3vil opened this issue Jun 30, 2023 · 4 comments · Fixed by #302
Closed

output is not cleared if second run outputs nothing #264

dear3vil opened this issue Jun 30, 2023 · 4 comments · Fixed by #302
Assignees
Labels
bug Something isn't working

Comments

@dear3vil
Copy link

If I run my code and output is generated and then do another run without any output, the output is not cleared and still shows the previous results, which might be confusing.

Run once, set output to false and run again, output still shows Hello World instead of being empty:
https://goplay.tools/snippet/inNWqvG_K6Q

Copy link

This issue is stale because it has been open for 15 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label Jan 10, 2024
@x1unix
Copy link
Owner

x1unix commented Jan 10, 2024

@dear3vil I can't reproduce the issue. Can you please provide a demo?

Screen.Recording.2024-01-10.at.02.51.01.mov

@x1unix x1unix added the awaiting-feedback Requires feedback from one or other users label Jan 10, 2024
@dear3vil
Copy link
Author

dear3vil commented Jan 10, 2024

@x1unix
Please check attached video, I'm using the latest version of Firefox. Just tried with an untouched Edge Browser, same result.
https://github.com/x1unix/go-playground/assets/138237715/13cfb6e3-6e65-48c7-a994-0b556a30daf2

I just noticed a difference in your video, I've selected Go 1.21 Run on server, while your selection is Go 1.21 Run in browser, which behaves differently.

@x1unix x1unix added bug Something isn't working and removed awaiting-feedback Requires feedback from one or other users stale labels Jan 10, 2024
@x1unix x1unix self-assigned this Jan 10, 2024
@x1unix
Copy link
Owner

x1unix commented Jan 10, 2024

@dear3vil thanks for reporting the issue!

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
Development

Successfully merging a pull request may close this issue.

2 participants