diff options
author | WlodekM <[email protected]> | 2025-01-24 19:56:49 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-01-24 19:56:49 +0200 |
commit | 8280ee972e871b1b8b9d0cc560b037c6836dfd41 (patch) | |
tree | 99703f281abfbe4daf809fba8ef7dff087e314de /main.ts | |
parent | b4f992ffdac2d3d7f1dcb1042a3b663c2643809a (diff) |
fix type for Screen.client
Diffstat (limited to 'main.ts')
-rw-r--r-- | main.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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`) |