[GH-ISSUE #3829] ending a line with ` starts a new line that can't be exited #2372

Closed
opened 2026-04-12 12:41:25 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lucianthorr on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3829

What is the issue?

I was trying to find a way to enter multi-line text and tried the powershell solution of ending a line with `
The line was not evaluated and I was prompted to "Enter new command" but nothing after the tilda was evaluated and I was unable to quit Ollama. Cmd+Q didn't even work.

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.1.32

Originally created by @lucianthorr on GitHub (Apr 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3829 ### What is the issue? I was trying to find a way to enter multi-line text and tried the powershell solution of ending a line with ` The line was not evaluated and I was prompted to "Enter new command" but nothing after the tilda was evaluated and I was unable to quit Ollama. Cmd+Q didn't even work. ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.1.32
GiteaMirror added the bug label 2026-04-12 12:41:25 -05:00
Author
Owner

@pdevine commented on GitHub (May 14, 2024):

I tried this in both Windows Powershell and in Terminal and couldn't duplicate it.

If you want to do multiline, you can start a line with """. It also should work with cut+paste (we use bracketed paste mode in the CLI). I'm going to go ahead and close the issue, but please keep commenting/re-open if I missed something.

<!-- gh-comment-id:2111258594 --> @pdevine commented on GitHub (May 14, 2024): I tried this in both Windows Powershell and in Terminal and couldn't duplicate it. If you want to do multiline, you can start a line with """. It also should work with cut+paste (we use bracketed paste mode in the CLI). I'm going to go ahead and close the issue, but please keep commenting/re-open if I missed something.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2372