From fd353edd307a5d6feccf802e3aa994f1da5f65b2 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 16 Mar 2026 20:20:33 -0400 Subject: [PATCH] Apply suggestion from @vtjnash --- src/unix/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/tty.c b/src/unix/tty.c index 5ef9d9f2a..ae7367933 100644 --- a/src/unix/tty.c +++ b/src/unix/tty.c @@ -333,7 +333,7 @@ int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) { UNREACHABLE(); } - /* Apply changes after draining */ + /* Apply changes now, to avoid blocking. */ rc = uv__tcsetattr(fd, TCSANOW, &tmp); if (rc == 0) tty->mode = mode;