[PR #14940] [MERGED] cmd/tui: add left arrow back navigation in model selector #46178

Closed
opened 2026-04-25 01:42:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14940
Author: @hoyyeva
Created: 3/18/2026
Status: Merged
Merged: 3/25/2026
Merged by: @ParthSareen

Base: mainHead: hoyyeva/adding-left-arrow


📝 Commits (1)

  • 34918a8 cmd/tui: add left arrow back navigation in model selector

📊 Changes

2 files changed (+54 additions, -3 deletions)

View changed files

📝 cmd/tui/selector.go (+11 -3)
📝 cmd/tui/selector_test.go (+43 -0)

📄 Description

  • Right arrow navigates into Model Configuration from the main menu, but there was no corresponding left arrow to go back. This adds as a "back" shortcut in both the single and multi model selectors, matching the → / ← directional convention.
  • Esc continues to work as a universal cancel.
  • Help text updated from esc cancel to ← back across all selector views.

🔄 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/14940 **Author:** [@hoyyeva](https://github.com/hoyyeva) **Created:** 3/18/2026 **Status:** ✅ Merged **Merged:** 3/25/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `hoyyeva/adding-left-arrow` --- ### 📝 Commits (1) - [`34918a8`](https://github.com/ollama/ollama/commit/34918a8ee67b3c57adc132eefbba42ad0ef5cf19) cmd/tui: add left arrow back navigation in model selector ### 📊 Changes **2 files changed** (+54 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `cmd/tui/selector.go` (+11 -3) 📝 `cmd/tui/selector_test.go` (+43 -0) </details> ### 📄 Description - Right arrow `→` navigates into Model Configuration from the main menu, but there was no corresponding left arrow `←` to go back. This adds `←` as a "back" shortcut in both the single and multi model selectors, matching the `→ / ←` directional convention. - `Esc` continues to work as a universal cancel. - Help text updated from `esc cancel` to `← back` across all selector views. --- <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-25 01:42:00 -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#46178