From f8645df60c37c1e668df803359416dad48b4ba62 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 20 Apr 2020 10:55:38 +0200 Subject: [PATCH] fixed zmodem encoding (fixes #2352) --- terminus-ssh/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-ssh/src/api.ts b/terminus-ssh/src/api.ts index 4693edf6..d78d98ac 100644 --- a/terminus-ssh/src/api.ts +++ b/terminus-ssh/src/api.ts @@ -302,7 +302,7 @@ export class SSHSession extends BaseSession { write (data: Buffer): void { if (this.shell) { - this.shell.write(data.toString()) + this.shell.write(data) } }