-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not select candidate in pager mode #65
Comments
Hi, this sounds interesting, but I wanted to clarify what you mean by "currently the user cannot select or navigate the candidates in pager mode". If you |
Hi. thanks for your reply.
The existing implementation will fall back to pager mode when the number of candidates cannot be shown on a single screen, which looks like this: And in this mode the user could not select the candidate by pressing another Tab or navigating using the arrow keys. I believe this is because the input is intercepted in the HandlePagerMode method, and the mode does not support selecting a candidate from the page.
I think it would be nice to support selecting candidate in the pager mode like I show in my demo, where the user could both navigate the page and use Tab/arrow/enters to select a candidate to put on the buffer. |
Oh, now I understand. Yes, a PR for this would be very welcome! Thanks. |
Hi team, I'm looking to support a paged tab completion for an application I'm building using readline.
I noticed that currently the user cannot select or navigate the candidates in pager mode, which makes it less useful. In chyzer#238 I treated paging as a transparent feature. I did not give it an explicit mode, so the user could navigate as usual in
CompletSelection
mode with added hotkeys for scrolling through the page.Below is a demo of what my implementation looks like:
I'd be happy to submit a PR if this change is welcome, or if there are plans to support selecting in pager mode I'd be happy to hack something that aligns with your preferred design, too.
The text was updated successfully, but these errors were encountered: