[GH-ISSUE #2273] Line breaks are stripped when pasting to the prompt when running under WezTerm #1306

Closed
opened 2026-04-12 11:07:48 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @eproxus on GitHub (Jan 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2273

Originally assigned to: @bmizerany on GitHub.

(Not sure if this is a Ollama / WezTerm issue, but opening it here first)

When pasting multi-line text into the prompt when running Ollama under the WezTerm terminal on macOS, line breaks (newlines) are stripped. This does not happen with Terminal.app. It also doesn't happen in e.g. Vim, so it is something specific with the interaction between Ollama and WezTerm.

Versions

  • Ollama: 0.1.22
  • WezTerm: 20240128-202157-1e552d76
Originally created by @eproxus on GitHub (Jan 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2273 Originally assigned to: @bmizerany on GitHub. (Not sure if this is a Ollama / WezTerm issue, but opening it here first) When pasting multi-line text into the prompt when running Ollama under the WezTerm terminal on macOS, line breaks (newlines) are stripped. This does not happen with Terminal.app. It also doesn't happen in e.g. Vim, so it is something specific with the interaction between Ollama and WezTerm. Versions * Ollama: 0.1.22 * WezTerm: 20240128-202157-1e552d76
GiteaMirror added the bug label 2026-04-12 11:07:48 -05:00
Author
Owner

@bmizerany commented on GitHub (Mar 11, 2024):

This appears to be fixed in the latest WezTerm on macOS with the latest Ollama release.

CleanShot 2024-03-11 at 15 28 17@2x

Closing, but please reopen if you continue to have issues.

<!-- gh-comment-id:1989556335 --> @bmizerany commented on GitHub (Mar 11, 2024): This appears to be fixed in the latest WezTerm on macOS with the latest Ollama release. ![CleanShot 2024-03-11 at 15 28 17@2x](https://github.com/ollama/ollama/assets/46/a73c0c62-1222-4eb0-9c31-9b7fc3f7debc) Closing, but please reopen if you continue to have issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1306