Skip to content

Commit

Permalink
Add style for command description in completer (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Dec 10, 2024
1 parent dae11cf commit 4276e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builtins/src/main/java/org/jline/builtins/Styles.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class Styles {
"italic",
"underline");
private static final String DEFAULT_LS_COLORS = "di=1;91:ex=1;92:ln=1;96:fi=";
private static final String DEFAULT_HELP_COLORS = "ti=1;34:co=1:ar=3:op=33";
private static final String DEFAULT_HELP_COLORS = "ti=1;34:co=1:ar=3:op=33:de=";
private static final String DEFAULT_PRNT_COLORS = "th=1;34:rn=1;34:rs=,~grey15:mk=1;34:em=31:vs=32";
private static final String LS_COLORS = "LS_COLORS";
private static final String HELP_COLORS = "HELP_COLORS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ private void printCommandInfo(String command, String info, int max) {
asb.append("\t");
asb.append(command, HelpException.defaultStyle().resolve(".co"));
asb.append("\t");
asb.append(info);
asb.append(info, HelpException.defaultStyle().resolve(".de"));
asb.setLength(terminal().getWidth());
asb.toAttributedString().println(terminal());
}
Expand Down

0 comments on commit 4276e1a

Please sign in to comment.