Skip to content

Commit

Permalink
View: Server-Log fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
autumoswitzerland committed Nov 12, 2024
1 parent 5737c6e commit be4f67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ private String customIMConverter(LogEvent event) {

private String replaceAnsiWithHtml(String input) {
// If the platform is Windows, handle full ANSI sequences including \u001b
if (OS.isWindows()) {
if (OS.isWindows() || OS.isUnix()) {

// Full escape sequences (with \u001b) for Windows
// Full escape sequences (with \u001b) for Windows and Unix

// Standard colors
input = input.replace("\u001b[30m", "<span style=\"color: darkgrey;\">");
Expand Down

0 comments on commit be4f67d

Please sign in to comment.