From bda068c5f04f276bd2742defcf7fef83386fc03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Sun, 12 May 2019 22:07:14 +0200 Subject: [PATCH] docs --- typings/xterm.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 73c7aeed..9afac941 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -759,7 +759,9 @@ declare module 'xterm' { writeln(data: string): void; /** - * Writes text to the terminal encoded as UTF-8 to the terminal. + * Writes UTF8 data to the terminal. + * This has a slight performance advantage over the string based write method + * due to lesser data conversions needed on the way from the pty to xterm.js. * @param data The data to write to the terminal. */ writeUtf8(data: Uint8Array): void;