Ask coding questions

← Back to all posts
turtle onkeyrelease() functionality in replit

Has anyone else come across this?

In pycharm, onkeyrelease() does not register input until you release the key and will not register the key being held down.

In replit, onkeyrelease() with a held key will ignore the initial keypress as it should, but will then register the key being held down and behave as if onkeypress().

Is this an aberration of replit (an emulation issue, I assume), of pycharm, or a cross-platform standards issue (i.e., different platforms will handle the function differently)?