The continuation prompt in the console ("...") should not be repeated indefinitely while inputting blank lines. The incomplete code should fail if multiple sequential blank lines are submitted (unless in a multiline string I guess).
At least there should be a key combo to end the input like ctrl+D (what you see in linux cli)