[PR #922] [MERGED] add bracketed paste mode #72683

Closed
opened 2026-05-05 04:14:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/922
Author: @pdevine
Created: 10/26/2023
Status: Merged
Merged: 10/26/2023
Merged by: @pdevine

Base: mainHead: bracketed-paste


📝 Commits (1)

📊 Changes

3 files changed (+36 additions, -18 deletions)

View changed files

📝 cmd/cmd.go (+3 -0)
📝 readline/readline.go (+23 -16)
📝 readline/types.go (+10 -2)

📄 Description

This change allows you to cut/paste into the REPL without have to add the """ around a block of text.

I've tested it out with:

  • Terminal.app
  • iTerm2
  • Warp

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/922 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 10/26/2023 **Status:** ✅ Merged **Merged:** 10/26/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `bracketed-paste` --- ### 📝 Commits (1) - [`ea1bd22`](https://github.com/ollama/ollama/commit/ea1bd222ca03a84f378dfd7f4c049f94432a3abb) add bracketed paste mode ### 📊 Changes **3 files changed** (+36 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+3 -0) 📝 `readline/readline.go` (+23 -16) 📝 `readline/types.go` (+10 -2) </details> ### 📄 Description This change allows you to cut/paste into the REPL without have to add the """ around a block of text. I've tested it out with: * Terminal.app * iTerm2 * Warp --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 04:14:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#72683