console
console copied to clipboard
ChoiceQuestion use <hl> tag when auto-completing
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