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

Console.ReadLine doesnt work on linux #2072

Open
Booklordofthedings opened this issue Nov 28, 2024 · 1 comment
Open

Console.ReadLine doesnt work on linux #2072

Booklordofthedings opened this issue Nov 28, 2024 · 1 comment

Comments

@Booklordofthedings
Copy link
Contributor

Atleast it doesnt on some distros/terminals.
Rather it would read forever and never return
This can be fixed by setting stdbuf -i0 in the terminal that calls that code.
If we wanted to fix this on the Beef side we could potentially call setvbuf or find another better approach (maybe just move it into the c++ runtime)
This issue is mostly here to document the fix for other people

@Booklordofthedings
Copy link
Contributor Author

sorry I misinterpreted, the issue seems to only happen with BeefBuild -run

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