mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[PR #479] Add GetLast and GetFirst method #964
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/479
Author: @raziman18
Created: 7/26/2020
Status: 🔄 Open
Base:
master← Head:list📝 Commits (3)
512e49badd new method for list4df6307add new method for listb7e0be6Merge branch 'list' of https://github.com/issadarkthing/tview into list📊 Changes
1 file changed (+25 additions, -0 deletions)
View changed files
📝
list.go(+25 -0)📄 Description
This changes add two methods to the
Listwidget,GetFirstandGetLastwhich returns the first and last item drawn respectively. This is useful if user wants to emulate H and L vim keybinding which moves the cursor top of the page and the bottom of the page.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.