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

can't use input() in a program #61

Open
fgrossman opened this issue Aug 10, 2023 · 3 comments
Open

can't use input() in a program #61

fgrossman opened this issue Aug 10, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@fgrossman
Copy link
Collaborator

When a program uses the input() function the shell does not allow the input.

It works if a program is not running and you just type the code into the REPL.

@fgrossman fgrossman added the bug Something isn't working label Aug 10, 2023
@waseltzer
Copy link

Any plans to fix this soon?
I'd like to use this in my July 2024 class.

@Advay17
Copy link

Advay17 commented Jun 18, 2024

You can press CTRL+D to reset the program, and input works fine afterwards.

@waseltzer
Copy link

@Advay17 : Thanks!
This sequence works for me:

  1. RUN (uploads the program, but won't accept keyboard input)
  2. STOP (stops the program)
  3. In the shell area of the window, type CTRL-D, which restarts the program and allows keyboard input

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
None yet
Development

No branches or pull requests

3 participants