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
bash-3.2# ./testprog __complete d
dasharg Wants argument --arg
dir Directive: subdir
:4
Completion ended with directive: ShellCompDirectiveNoFileComp
bash-3.2# ./testprog d
dasharg^IWants argument --arg dir^IDirective: subdir
We can see that the tab character that delimits a description gets somehow mistakenly converted to a ^I, which breaks the proper display of completion descriptions.
I will be posting a PR to fix this.
The text was updated successfully, but these errors were encountered:
Fixesspf13#1734
Tab characters that introduce completion descriptions weren't properly
being handled with bash v3. This change fixes that.
Signed-off-by: Marc Khouzam <[email protected]>
Fixes#1734
Tab characters that introduce completion descriptions weren't properly
being handled with bash v3. This change fixes that.
Signed-off-by: Marc Khouzam <[email protected]>
With the merge of the ActiveHelp feature (#1482) I started seeing errors in the tests of https://github.com/marckhouzam/cobra-completion-testing for bash v3 when using descriptions.
Testing things manually:
We can see that the tab character that delimits a description gets somehow mistakenly converted to a
^I
, which breaks the proper display of completion descriptions.I will be posting a PR to fix this.
The text was updated successfully, but these errors were encountered: