[PR #1818] [MERGED] fix(cmd): history in alt prompt #10692

Closed
opened 2026-04-12 23:07:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1818
Author: @mxyng
Created: 1/5/2024
Status: Merged
Merged: 1/8/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-alt-prompt


📝 Commits (1)

  • 2ef9352 fix(cmd): history in alt mode

📊 Changes

2 files changed (+28 additions, -26 deletions)

View changed files

📝 readline/buffer.go (+10 -20)
📝 readline/readline.go (+18 -6)

📄 Description

using up/down arrows (for history) messes up multiline string inputs by replacing the alt prefix ... with the default prefix >>>


🔄 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/1818 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/5/2024 **Status:** ✅ Merged **Merged:** 1/8/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-alt-prompt` --- ### 📝 Commits (1) - [`2ef9352`](https://github.com/ollama/ollama/commit/2ef9352b941bce4280d5a42a7781984b1625f7df) fix(cmd): history in alt mode ### 📊 Changes **2 files changed** (+28 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `readline/buffer.go` (+10 -20) 📝 `readline/readline.go` (+18 -6) </details> ### 📄 Description using up/down arrows (for history) messes up multiline string inputs by replacing the alt prefix `...` with the default prefix `>>>` --- <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-04-12 23:07:46 -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#10692