diff --git a/build.gradle.kts b/build.gradle.kts index 4e44bb1..f8dc45b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "chaos.unity.nenggao" -version = "1.2.0" +version = "1.2.1" repositories { mavenCentral() diff --git a/src/main/java/chaos/unity/nenggao/FileReportBuilder.java b/src/main/java/chaos/unity/nenggao/FileReportBuilder.java index 5c79ff4..e77fe82 100644 --- a/src/main/java/chaos/unity/nenggao/FileReportBuilder.java +++ b/src/main/java/chaos/unity/nenggao/FileReportBuilder.java @@ -279,6 +279,7 @@ public void print(final @NotNull PrintStream printStream) { writeLineNumber(printStream, -1, maxNumbersOfDigit, true); writeMultiLineLabel(printStream, -1, occupiedMultiLineLabels, null, characterSet.verticalBar); + printStream.append(new String(new char[spaceLen + offset]).replace('\0', ' ')); printStream.append(new String(new char[mostLastPosition - insertedLen + 1]).replace('\0', ' ')); boolean resetHint = writeColor(printStream, Attribute.BRIGHT_BLUE_TEXT()); printStream.append("!hint: ");