mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
fix import, set copyright note
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
/**
|
||||
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
import { perfContext, before, ThroughputRuntimeCase } from 'xterm-benchmark';
|
||||
|
||||
import { Terminal } from 'Terminal';
|
||||
import { spawn } from 'node-pty';
|
||||
import { Utf8ToUtf32, stringFromCodePoint } from '../out/core/input/TextDecoder';
|
||||
import { Utf8ToUtf32, stringFromCodePoint } from 'core/input/TextDecoder';
|
||||
|
||||
|
||||
class TestTerminal extends Terminal {
|
||||
@@ -23,7 +28,7 @@ perfContext('Terminal: ls -lR /usr', () => {
|
||||
before(async () => {
|
||||
// grab output from "ls -lR /usr"
|
||||
const p = spawn('ls', ['--color=auto', '-lR', '/usr'], {
|
||||
name: 'xterm-color',
|
||||
name: 'xterm-256color',
|
||||
cols: 80,
|
||||
rows: 25,
|
||||
cwd: process.env.HOME,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
|
||||
* @license MIT
|
||||
*/
|
||||
import { perfContext, before, beforeEach, ThroughputRuntimeCase } from 'xterm-benchmark';
|
||||
|
||||
import { EscapeSequenceParser } from 'core/parser/EscapeSequenceParser';
|
||||
|
||||
Reference in New Issue
Block a user