aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/render/ansi.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/render/ansi.js')
-rw-r--r--web_src/js/render/ansi.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/render/ansi.js b/web_src/js/render/ansi.js
index 68e8f2c544..75b8cb4fd2 100644
--- a/web_src/js/render/ansi.js
+++ b/web_src/js/render/ansi.js
@@ -11,6 +11,7 @@ export function renderAnsi(line) {
// the output of future renders, because ansi_up is stateful and remembers things like
// unclosed opening tags for colors.
const ansi_up = new (AnsiUp.default || AnsiUp)();
+ ansi_up.use_classes = true;
if (line.endsWith('\r\n')) {
line = line.substring(0, line.length - 2);