Skip to content

Commit

Permalink
Fix hint rendering issue, Release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChAoSUnItY committed Jul 15, 2022
1 parent 90a34fe commit 2de4045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "chaos.unity.nenggao"
version = "1.2.0"
version = "1.2.1"

repositories {
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions src/main/java/chaos/unity/nenggao/FileReportBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -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: ");
Expand Down

0 comments on commit 2de4045

Please sign in to comment.