From 8280ee972e871b1b8b9d0cc560b037c6836dfd41 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Fri, 24 Jan 2025 19:56:49 +0200 Subject: fix type for Screen.client --- main.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.ts') diff --git a/main.ts b/main.ts index 922b47a..40ab9c4 100644 --- a/main.ts +++ b/main.ts @@ -14,6 +14,8 @@ function changeTitle(title: string) { readline.emitKeypressEvents(process.stdin); +export type Client = typeof client + if (process.stdin.isTTY) process.stdin.setRawMode(true); // makes the terminal send stdin without the user pressing enter changeTitle(`maelink`) -- cgit 1.4.1-2-gfad0