Skip to content

Commit

Permalink
builtins.Styles: make public method style(name, defStyle)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Dec 18, 2021
1 parent 1aae0ae commit e9cbb19
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -50,7 +50,7 @@ public static boolean isStylePattern(String style) {
return style.matches(STYLE_PATTERN);
}

private static StyleResolver style(String name, String defStyle) {
public static StyleResolver style(String name, String defStyle) {
String style = consoleOption(name);
if (style == null) {
style = defStyle;
Expand Down

0 comments on commit e9cbb19

Please sign in to comment.