-
Notifications
You must be signed in to change notification settings - Fork 921
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
support for stdin #63
Comments
std.out.puts("name?"); |
|
Try it in a script file, outside the REPL. It's a blocking function so I think it'll interfere with the REPL main loop which uses the stdin too. |
Thanks! the script work with: qjs script.js . |
Closed
GerHobbelt
pushed a commit
to GerHobbelt/quickjs
that referenced
this issue
Oct 17, 2023
* replace master -> main * yarn doc * rebuild
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to find buildin function for stdin like cin or scanf but I can't. Not include in std or global yet
For example, in d8 shell, google use readline() to input when typing in console
The text was updated successfully, but these errors were encountered: