fix: inline xterm.css into injected style string (host never loads standalone lib/client.css, helper textarea was visible)

This commit is contained in:
Aisland
2026-08-20 12:39:45 +08:00
parent 3f01b8f4e0
commit be098258b2
7 changed files with 172 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { Fragment, useCallback, useEffect, useRef, useState } from 'react'
import { Terminal } from 'xterm'
import 'xterm/css/xterm.css'
import MarkdownIt from 'markdown-it'
import hljs from 'highlight.js/lib/core'
import hljsTypescript from 'highlight.js/lib/languages/typescript'