Skip to content

ChoiceQuestion use <hl> tag when auto-completing #26

Description

@ninsuo

Hey there,

When using the symfony's ChoiceQuestion with this console, we end up with a wrong auto-completion containing <hl> tags.

Example:

Hello world?
  [0] yes
  [1] no
 > y<hl>es</hl>

The fix is quite easy on my side:

$configuration->addStyle(Style::tag('hl')->bold());

But I think it could be nice to implement it directly in the library.

Cheers mate,
Alain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions