[PR #1768] [MERGED] Feat: Implement Wrap-Around Navigation for List Selection (for Models and Tools modal) #10050

Closed
opened 2026-02-16 18:14:37 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1768
Author: @spoons-and-mirrors
Created: 8/9/2025
Status: Merged
Merged: 8/11/2025
Merged by: @adamdotdevin

Base: devHead: feat/wrap-around-lists


📝 Commits (1)

  • 2404c97 feat: implement wrap-around navigation for list selection

📊 Changes

2 files changed (+62 additions, -18 deletions)

View changed files

📝 packages/tui/internal/components/list/list.go (+17 -12)
📝 packages/tui/internal/components/list/list_test.go (+45 -6)

📄 Description

Allow for Models and Tools modal lists to wrap around when navigating it.

  • Pressing down while on the last item of the list will put the cursor back on the first item.
  • Pressing up [...] you get it...

🔄 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/anomalyco/opencode/pull/1768 **Author:** [@spoons-and-mirrors](https://github.com/spoons-and-mirrors) **Created:** 8/9/2025 **Status:** ✅ Merged **Merged:** 8/11/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `feat/wrap-around-lists` --- ### 📝 Commits (1) - [`2404c97`](https://github.com/anomalyco/opencode/commit/2404c97530916d459650450a99ce5e6a784f560a) feat: implement wrap-around navigation for list selection ### 📊 Changes **2 files changed** (+62 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/components/list/list.go` (+17 -12) 📝 `packages/tui/internal/components/list/list_test.go` (+45 -6) </details> ### 📄 Description Allow for Models and Tools modal lists to wrap around when navigating it. - Pressing down while on the last item of the list will put the cursor back on the first item. - Pressing up [...] you get it... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:37 -05:00
yindo closed this issue 2026-02-16 18:14:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10050