Open-STEM / XRPCode

This is the repository for the full Python/Blockly IDE
GNU General Public License v3.0
0 stars 3 forks source link

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

Open fgrossman opened 1 year ago

fgrossman commented 1 year ago

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.

waseltzer commented 5 months ago

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

Advay17 commented 5 months ago

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

waseltzer commented 4 months ago

@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