[PR #1058] [CLOSED] Add multi-select mode for lists #1120

Closed
opened 2026-03-04 01:09:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/1058
Author: @SamWhited
Created: 11/23/2024
Status: Closed

Base: masterHead: list_multi_select


📝 Commits (1)

  • 699bc05 Add multi-select mode for lists

📊 Changes

1 file changed (+135 additions, -27 deletions)

View changed files

📝 list.go (+135 -27)

📄 Description

This adds a multi-select mode for lists in which the current selection changes to be a cursor and pressing enter marks the item under the cursor as actually selected.

DropDown is based on list so this should unblock adding a multi-select mode to DropDown's as well (I have a followup PR that I can submit for this if desired).

Updates #330


🔄 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/rivo/tview/pull/1058 **Author:** [@SamWhited](https://github.com/SamWhited) **Created:** 11/23/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `list_multi_select` --- ### 📝 Commits (1) - [`699bc05`](https://github.com/rivo/tview/commit/699bc05d479ac5087a918d458918a62ef94f46aa) Add multi-select mode for lists ### 📊 Changes **1 file changed** (+135 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `list.go` (+135 -27) </details> ### 📄 Description This adds a multi-select mode for lists in which the current selection changes to be a cursor and pressing enter marks the item under the cursor as actually selected. DropDown is based on list so this should unblock adding a multi-select mode to DropDown's as well (I have a followup PR that I can submit for this if desired). Updates #330 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:09:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#1120
No description provided.