We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc11917 + ec812b6 commit 0c4c54dCopy full SHA for 0c4c54d
.changeset/sour-lies-do.md
@@ -0,0 +1,5 @@
1
+---
2
+"@clack/core": patch
3
4
+
5
+fix `readline` hang on Windows
packages/core/src/utils.ts
@@ -40,6 +40,9 @@ export function block({
40
return () => {
41
input.off('keypress', clear);
42
if (hideCursor) process.stdout.write(cursor.show);
43
44
+ // @ts-expect-error fix for https://github.com/nodejs/node/issues/31762#issuecomment-1441223907
45
+ rl.terminal = false;
46
rl.close();
47
};
48
}
0 commit comments