enter command

The enter command triggers an enter programmatically.

Use the enter command

editor.commands.enter()