Skip to content

saqqdy/xterm-style

Repository files navigation

xterm-style

NPM version build status Test coverage David deps Known Vulnerabilities npm download License

安装依赖

# 通过npm安装
npm install -S xterm-style
# 或者通过yarn安装
yarn add xterm-style

使用

配置说明

xterm-style 目前包含了下面这几套配置

  • common: 常规风格

引入方法

import { Terminal } from 'xterm'
import { common as xtermTheme } from 'xterm-style'
const term = new Terminal({
    theme: xtermTheme
    // ...
})