Submit code through shortcut without adding new line

That was the standard in the past but now when I hit Ctrl + Enter a new line is added. Is there any option to change that?