Skip to content
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

Improve pagination support #7

Open
da-x opened this issue Feb 15, 2019 · 0 comments
Open

Improve pagination support #7

da-x opened this issue Feb 15, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@da-x
Copy link
Collaborator

da-x commented Feb 15, 2019

Currently, the reflector in Interact limits the amount of data gathered for each entered expression in interact_prompt. This serves to prevent terminal overflow when trying to print large amount of data, for example if the registered state is very large. However, in order to allow easy probing of very large maps, we would need more flexibility.

  1. The limit for the amount printed data is currently a hardcoded, and we should be able to provide it in the prompt itself.
  2. To more easily navigate through sorted maps (e.g. BTreeMap), it would be nice to provide ranges. For hashmaps, we can provide how much of the iterator's items we would like to skip.
  3. Consider interactive pagination, where Reflection is an ongoing interactive process for which we are able to provide partial results before returning back to the prompt - this will be hard to implement, though.
@da-x da-x added the enhancement New feature or request label Feb 15, 2019
@da-x da-x self-assigned this Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant