Skip to content

Improve terminal select / multiselect #74

@christerswahn

Description

@christerswahn

In the prompts library, the select() and multiselect() functions need some improvements.

  • Do not throw ExitException if the user quits, instead return null and let the caller be responsible for how to act.
  • If possible, allow the user to press ESC to quit the selection (in addition to the current 'q').
  • Inform the user they can press q / ESC to quit.
  • Do not clear the screen upon render / rerender, instead just rerender the lines of the select prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions