[GH-ISSUE #380] List option to prevent navigation wraparound #282

Closed
opened 2026-03-04 01:03:35 +03:00 by kerem · 2 comments
Owner

Originally created by @abitrolly on GitHub (Dec 24, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/380

Current list behaviour is to jump back to top if the bottom is reached. Making this as a wraparound: true option that can be switched off would be handy.

Originally created by @abitrolly on GitHub (Dec 24, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/380 Current list behaviour is to jump back to top if the bottom is reached. Making this as a `wraparound: true` option that can be switched off would be handy.
kerem closed this issue 2026-03-04 01:03:35 +03:00
Author
Owner

@rivo commented on GitHub (Dec 29, 2019):

I added this. See here.

<!-- gh-comment-id:569522192 --> @rivo commented on GitHub (Dec 29, 2019): I added this. See [here](https://godoc.org/github.com/rivo/tview#List.SetWrapAround).
Author
Owner

@abitrolly commented on GitHub (Jan 2, 2020):

Works perfectly. Thank you.

<!-- gh-comment-id:570294519 --> @abitrolly commented on GitHub (Jan 2, 2020): Works perfectly. Thank you.
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#282
No description provided.