From f3f519ed1212ffa359249a36a223e9837e558495 Mon Sep 17 00:00:00 2001 From: Weidi Deng Date: Sat, 9 Dec 2023 09:34:16 +0800 Subject: [PATCH] add notes to README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4fe767..b6a1cf5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ go get github.com/creack/pty ## Examples -Note that those examples are for demonstration purpose only, to showcase how to use the library. They are not meant to be used in any kind of production environment. +Note that those examples are for demonstration purpose only, to showcase how to use the library. They are not meant to be used in any kind of production environment. If you want to **set deadlines to work** and `Close()` **interrupting** `Read()` on the returned `*os.File`, you will need to call `syscall.SetNonblock` manually. ### Command