[GH-ISSUE #474] Allow specifying number of items needed to trigger "fullscreen" autocomplete list? #343

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

Originally created by @khughitt on GitHub (Jul 18, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/474

Currently, autocomplete appears to show ~3 items at a time initially when there are a lot of choices. As I type more characters and narrow down the choices, at some point, the menu switches to a "fullscreen" view.

Would it be possible to provide a parameter to control this behavior? (i.e. minimum number of entries required to trigger full screen view)

Similarly, it could be useful to be able to specify the number of items to show in the initial smaller view.

Originally created by @khughitt on GitHub (Jul 18, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/474 Currently, autocomplete appears to show ~3 items at a time initially when there are a lot of choices. As I type more characters and narrow down the choices, at some point, the menu switches to a "fullscreen" view. Would it be possible to provide a parameter to control this behavior? (i.e. minimum number of entries required to trigger full screen view) Similarly, it could be useful to be able to specify the number of items to show in the initial smaller view.
kerem closed this issue 2026-03-04 01:04:11 +03:00
Author
Owner

@rivo commented on GitHub (Sep 15, 2020):

The autocomplete list doesn't just show 3 items. Please post a brief example (with code) where only three items are shown but there should be more.

<!-- gh-comment-id:692665564 --> @rivo commented on GitHub (Sep 15, 2020): The autocomplete list doesn't just show 3 items. Please post a brief example (with code) where only three items are shown but there should be more.
Author
Owner

@khughitt commented on GitHub (Sep 15, 2020):

Hmm.. I'm no longer able to reproduce this, so I have no idea what I did to lead to the problem in the first place.

I'm going to close this issue, but If I encounter the same issue in the future I will try and provide a reproducible example.

<!-- gh-comment-id:692871453 --> @khughitt commented on GitHub (Sep 15, 2020): Hmm.. I'm no longer able to reproduce this, so I have no idea what I did to lead to the problem in the first place. I'm going to close this issue, but If I encounter the same issue in the future I will try and provide a reproducible example.
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#343
No description provided.