Enter-key not recognised (in Rhino 5 for Windows)

We hear about this from time to time if the user has been scripting (RhinoScript, python, Grasshopper scripts). Unfortunately we haven’t figured out a way to track down the actual problem so we can repeat it on a developer’s computer.