diff --git a/frontend/src/components/Shell.vue b/frontend/src/components/Shell.vue index 47c3d67c..dd5bf319 100644 --- a/frontend/src/components/Shell.vue +++ b/frontend/src/components/Shell.vue @@ -113,7 +113,10 @@ export default { this.scroll(); }, () => { - results.text = results.text.trimEnd(); + results.text = results.text + // eslint-disable-next-line no-control-regex + .replace(/\u001b\[[0-9;]+m/g, "") // Filter ANSI color for now + .trimEnd(); this.canInput = true; this.$refs.input.focus(); this.scroll();