Skip to content

Add optional pagination to CLI 'suggest' for long result lists #70

@bskinn

Description

@bskinn

May or may not always be desirable. Probably best to toggle via a new CLI flag.

Simplest is probably to always output shutil.get_terminal_size().lines - 2 lines of the table each time. This should leave the prior "Press any key to continue..." at the top of the screen, with the new "Press any key to continue" sitting at the bottom. (Assuming the terminal advancing works as I think it does...)

  • Add tests
  • Add CHANGELOG entry

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions