[PR #112] [MERGED] Fix panic with <Enter> on empty list #856

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

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/112
Author: @hoop33
Created: 5/9/2018
Status: Merged
Merged: 5/12/2018
Merged by: @rivo

Base: masterHead: master


📝 Commits (1)

  • 2899c71 Fix panic with empty list

📊 Changes

1 file changed (+8 additions, -6 deletions)

View changed files

📝 list.go (+8 -6)

📄 Description

This PR fixes a panic (index out of range) if the focus is on an empty list and user hits .


🔄 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/112 **Author:** [@hoop33](https://github.com/hoop33) **Created:** 5/9/2018 **Status:** ✅ Merged **Merged:** 5/12/2018 **Merged by:** [@rivo](https://github.com/rivo) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2899c71`](https://github.com/rivo/tview/commit/2899c719cae4ac5661ae76db00f44de7226394eb) Fix panic with empty list ### 📊 Changes **1 file changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `list.go` (+8 -6) </details> ### 📄 Description This PR fixes a panic (index out of range) if the focus is on an empty list and user hits <Enter>. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:08:15 +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#856
No description provided.