In Emacs, the minibuffer is typically used for single-line input, so pressing RET (Enter) usually submits the input. However, if you need to input a line break (newline) in the minibuffer, you can do so by using the following methods: Method 1: Use C-q C-j
Press C-q (quoted-insert), followed by C-j (newline).
This inserts a literal newline character into the minibuffer.
Method 2: Use C-o
Press C-o (open-line), which inserts a newline and moves the cursor to the new line.