Skip to content
Success

Changes

Summary

  1. Fix fancy terminal on Windows. (commit: 02d3660) (details)
Commit 02d3660f3218f646ed4a9c9036b0958f9300ac16 by md_5
Fix fancy terminal on Windows.

This is a workaround for quite possibly the weirdest bug I have ever encountered in my life! When jansi attempts to extract its natives, by default it tries to extract a specific version, using the loading class's implementation version. Normally this works completely fine, however when on Windows certain characters such as - and : can trigger special behaviour. Furthermore this behaviour only occurs in specific combinations due to the parsing done by jansi. For example test-test works fine, but test-test-test does not! In order to avoid this all together but still keep our versions the same as they were, we set the override property to the essentially garbage version BungeeCord. This version is only used when extracting the libraries to their temp folder.
(commit: 02d3660)
The file was modifiedproxy/src/main/java/net/md_5/bungee/BungeeCord.java (diff)
The file was modifiedbootstrap/src/main/java/net/md_5/bungee/Bootstrap.java (diff)
The file was modifiedproxy/pom.xml (diff)