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.
1 parent f44c104 commit 83c18deCopy full SHA for 83c18de
packages/core/src/utils.ts
@@ -40,6 +40,7 @@ export function block({
40
return () => {
41
input.off('keypress', clear);
42
if (hideCursor) process.stdout.write(cursor.show);
43
+ if (input.isTTY) input.setRawMode(false);
44
45
// @ts-expect-error fix for https://github.com/nodejs/node/issues/31762#issuecomment-1441223907
46
rl.terminal = false;
0 commit comments