From 0c70381105d750099646bc182c81e9fa757e4a8b Mon Sep 17 00:00:00 2001 From: meganrogge Date: Wed, 13 Jan 2021 14:37:05 -0800 Subject: [PATCH] fix #451 --- typings/node-pty.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/typings/node-pty.d.ts b/typings/node-pty.d.ts index fa92cf5e2..5ae250e3b 100644 --- a/typings/node-pty.d.ts +++ b/typings/node-pty.d.ts @@ -183,6 +183,16 @@ declare module 'node-pty' { * @throws Will throw when signal is used on Windows. */ kill(signal?: string): void; + + /** + * Pauses the pty for customizable flow control. + */ + pause(): void; + + /** + * Resumes the pty for customizable flow control. + */ + resume(): void; } /**