You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the synopsis of an option is long enough to wrap to the second line, it breaks coloration by extending its color to the description in the next column:
To Reproduce
Any sufficiently long synopsis should show the issue:
.option('--endpoint-rdo-threshold <endpoint_rdo_threshold>','Set endpoint and selector RDO quality threshold. Lower'+' is higher quality but less quality per output bit (try 1.0-3.0).'+' Overrides --quality.',{validator: program.NUMERIC})
Expected behavior
I would expect the description text to keep the body color regardless of the length of the synopsis.
Actual behavior
Synopsis color bleeds into description text, if synopsis is long enough that it needs a linebreak.
Environment informations (please complete the following information):
OS: macOS
OS version: 10.15.5
Shell: zsh
Caporal version: 2.0.2
The text was updated successfully, but these errors were encountered:
Describe the bug
When the synopsis of an option is long enough to wrap to the second line, it breaks coloration by extending its color to the description in the next column:
To Reproduce
Any sufficiently long synopsis should show the issue:
Expected behavior
I would expect the description text to keep the body color regardless of the length of the synopsis.
Actual behavior
Synopsis color bleeds into description text, if synopsis is long enough that it needs a linebreak.
Environment informations (please complete the following information):
The text was updated successfully, but these errors were encountered: