[GH-ISSUE #744] "Delete word" buggy in TUI #351

Closed
opened 2026-04-12 09:59:39 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mjvmroz on GitHub (Oct 9, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/744

Originally assigned to: @pdevine on GitHub.

Using a delete word hotkey (e.g. ctrl-w) when the cursor is within the first word of a prompt causes the entire prompt to be deleted.

Steps to reproduce:

  1. Type several words at an ollama LLM prompt
  2. Move the cursor to the first word (immediately following ">>>")
  3. Use a "delete word" hotkey (e.g. ctrl-w)
  4. The entire prompt is deleted

Expected behavior: Only the first word of the prompt is deleted

Originally created by @mjvmroz on GitHub (Oct 9, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/744 Originally assigned to: @pdevine on GitHub. Using a delete word hotkey (e.g. ctrl-w) when the cursor is within the first word of a prompt causes the entire prompt to be deleted. Steps to reproduce: 1. Type several words at an ollama LLM prompt 2. Move the cursor to the first word (immediately following ">>>") 3. Use a "delete word" hotkey (e.g. ctrl-w) 4. The entire prompt is deleted Expected behavior: Only the first word of the prompt is deleted
GiteaMirror added the bug label 2026-04-12 09:59:40 -05:00
Author
Owner

@pdevine commented on GitHub (Oct 25, 2023):

This is fixed with #847

<!-- gh-comment-id:1780211563 --> @pdevine commented on GitHub (Oct 25, 2023): This is fixed with #847
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#351