Skip to content

Commit a8ab315

Browse files
authored
Merge pull request #48 from Vankka/fix/incompatibility-jansi-1.x
Fix incompatibility with JAnsi < 2.1.0
2 parents 3ad8735 + 3b8269f commit a8ab315

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/net/kyori/ansi/JAnsiColorLevel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of ansi, licensed under the MIT License.
33
*
4-
* Copyright (c) 2023 KyoriPowered
4+
* Copyright (c) 2023-2024 KyoriPowered
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -33,6 +33,7 @@ final class JAnsiColorLevel {
3333
Throwable cause = null;
3434
try {
3535
Class.forName("org.fusesource.jansi.AnsiConsole");
36+
Class.forName("org.fusesource.jansi.AnsiColors");
3637
} catch (final ClassNotFoundException classNotFoundException) {
3738
cause = classNotFoundException;
3839
}

0 commit comments

Comments
 (0)