Skip to content

Commit

Permalink
fix: fixes background color with ansi colors. fixes #2873 (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Apr 5, 2024
1 parent d09e179 commit 9b641a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/components/LogViewer/SimpleLogItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ import { decodeXML } from "entities";
import AnsiConvertor from "ansi-to-html";
import stripAnsi from "strip-ansi";
const ansiConvertor = new AnsiConvertor({ escapeXML: false, fg: "var(--base-content-color)" });
const ansiConvertor = new AnsiConvertor({
escapeXML: false,
fg: "var(--base-content-color)",
bg: "var(--base-color)",
});
defineProps<{
logEntry: SimpleLogEntry;
Expand Down

0 comments on commit 9b641a9

Please sign in to comment.