Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Fix incorrect ansi code being used for bold (#8000)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
17c1c6c3e7
Commit
94ef34cd0f
@ -65,7 +65,7 @@ index c3631efda9c7fa531a8a9f18fbee7b5f8655382b..9a3c1314d5a0aa20380662595359580b
|
||||
}
|
||||
diff --git a/src/main/java/io/papermc/paper/console/HexFormattingConverter.java b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967eadef6ba23
|
||||
index 0000000000000000000000000000000000000000..b4d0b7ecd56ab952319946854168c1299cb0b1be
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
||||
@@ -0,0 +1,212 @@
|
||||
@ -138,7 +138,7 @@ index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967ea
|
||||
+ formatHexAnsi(NamedTextColor.YELLOW), // Yellow §e
|
||||
+ formatHexAnsi(NamedTextColor.WHITE), // White §f
|
||||
+ "\u001B[5m", // Obfuscated §k
|
||||
+ "\u001B[21m", // Bold §l
|
||||
+ "\u001B[1m", // Bold §l
|
||||
+ "\u001B[9m", // Strikethrough §m
|
||||
+ "\u001B[4m", // Underline §n
|
||||
+ "\u001B[3m", // Italic §o
|
||||
@ -162,7 +162,7 @@ index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967ea
|
||||
+ "\u001B[0;33;1m", // Yellow §e
|
||||
+ "\u001B[0;37;1m", // White §f
|
||||
+ "\u001B[5m", // Obfuscated §k
|
||||
+ "\u001B[21m", // Bold §l
|
||||
+ "\u001B[1m", // Bold §l
|
||||
+ "\u001B[9m", // Strikethrough §m
|
||||
+ "\u001B[4m", // Underline §n
|
||||
+ "\u001B[3m", // Italic §o
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren