Skip to content

Commit

Permalink
Merge pull request #48 from Vankka/fix/incompatibility-jansi-1.x
Browse files Browse the repository at this point in the history
Fix incompatibility with JAnsi < 2.1.0
  • Loading branch information
zml2008 authored Jun 22, 2024
2 parents 3ad8735 + 3b8269f commit a8ab315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/kyori/ansi/JAnsiColorLevel.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of ansi, licensed under the MIT License.
*
* Copyright (c) 2023 KyoriPowered
* Copyright (c) 2023-2024 KyoriPowered
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -33,6 +33,7 @@ final class JAnsiColorLevel {
Throwable cause = null;
try {
Class.forName("org.fusesource.jansi.AnsiConsole");
Class.forName("org.fusesource.jansi.AnsiColors");
} catch (final ClassNotFoundException classNotFoundException) {
cause = classNotFoundException;
}
Expand Down

0 comments on commit a8ab315

Please sign in to comment.