[PR #582] [MERGED] fix end-of-line issue with the new prompt #10237

Closed
opened 2026-04-12 22:55:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/582
Author: @pdevine
Created: 9/24/2023
Status: Merged
Merged: 9/24/2023
Merged by: @pdevine

Base: mainHead: eol


📝 Commits (2)

  • 9ce85b5 fix end-of-line issue with the new prompt
  • 2e1595f add multiline prompt

📊 Changes

1 file changed (+12 additions, -5 deletions)

View changed files

📝 cmd/cmd.go (+12 -5)

📄 Description

The readline library had this fix which overwrote the end of the S in "Send a message..." which prevented the cursor from moving up the screen whenever you backspaced through the end of the line. We removed it to fix the placeholder text issue, but then the bug crept back in.


🔄 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/582 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 9/24/2023 **Status:** ✅ Merged **Merged:** 9/24/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `eol` --- ### 📝 Commits (2) - [`9ce85b5`](https://github.com/ollama/ollama/commit/9ce85b59200c2e42908454706d1f0a728ecf76cb) fix end-of-line issue with the new prompt - [`2e1595f`](https://github.com/ollama/ollama/commit/2e1595f6473f39970f5aa42271513cddd6c1c155) add multiline prompt ### 📊 Changes **1 file changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+12 -5) </details> ### 📄 Description The readline library had this fix which overwrote the end of the `S` in "Send a message..." which prevented the cursor from moving up the screen whenever you backspaced through the end of the line. We removed it to fix the placeholder text issue, but then the bug crept back in. --- <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 22:55:30 -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#10237