Skip to content

CLI::UI.ask multi-line input #499

@huguesbr

Description

@huguesbr

CLI::UI.ask used to take multi line input:

> User ids:
1
2
3

Since some upgrades ( we've upgraded to Ruby 3.3, maybe some change in our CLI leading to the console ) the input is now splitting from multi-line input to multi-prompt input.

> User ids:
1
> Order id
2
> Blah blah
3

Anyone has the same issue, is there a way to indicate the ask is expecting a multiline input? (nothing here https://github.com/Shopify/cli-ui/blob/main/lib/cli/ui/prompt.rb#L128 )

Thank you for any help provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions