hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.3k stars 285 forks source link

🪲 turtle graphics auto-run steal focus #5596

Closed zellyn closed 3 months ago

zellyn commented 3 months ago

Describe the bug It's difficult to type a multi-line turtle graphics program, because each time you hit "enter", the program re-runs (which is great!) and when it finishes, it steals the focus. Depending on how fast you type, it varies how much you can type before it stops working.

(You can get back to the coding area by clicking, or with shift-TAB.)

What machine and browser you were using (optional)

Felienne commented 3 months ago

Interesting.... I don't think programs should run if you hit enter (only option-enter) so this might be a wird bug. I can't reproduce on my mac with Chrome, maybe @Annelein can see if she can reproduce this with Firefox?

zellyn commented 3 months ago

I'll try to record my screen… brb

zellyn commented 3 months ago

Nope. I cannot get it to happen now. If it happens again, I'll try to find a path to reproducing it.