From 8e1ebe42b1a407289241d13faafb0603a55abc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Fri, 7 Jun 2019 21:39:07 +0200 Subject: [PATCH] fix import, set copyright note --- src/Terminal.benchmark.ts | 9 +++++++-- src/core/parser/EscapeSequenceParser.benchmark.ts | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/Terminal.benchmark.ts b/src/Terminal.benchmark.ts index fafd85cf..650ed655 100644 --- a/src/Terminal.benchmark.ts +++ b/src/Terminal.benchmark.ts @@ -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, diff --git a/src/core/parser/EscapeSequenceParser.benchmark.ts b/src/core/parser/EscapeSequenceParser.benchmark.ts index 3680f60c..392774dd 100644 --- a/src/core/parser/EscapeSequenceParser.benchmark.ts +++ b/src/core/parser/EscapeSequenceParser.benchmark.ts @@ -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';