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 2feaebb commit 29c12a6Copy full SHA for 29c12a6
packages/core/src/utils/index.ts
@@ -10,8 +10,6 @@ import { isActionKey } from './settings.js';
10
export * from './settings.js';
11
export * from './string.js';
12
13
-const isWindows = globalThis.process.platform.startsWith('win');
14
-
15
export const CANCEL_SYMBOL = Symbol('clack:cancel');
16
17
export function isCancel(value: unknown): value is symbol {
@@ -73,8 +71,7 @@ export function block({
73
71
input.off('keypress', clear);
74
72
if (hideCursor) output.write(cursor.show);
75
76
- // Prevent Windows specific issues: https://github.com/bombshell-dev/clack/issues/176
77
- if (input instanceof ReadStream && input.isTTY && !isWindows) {
+ if (input instanceof ReadStream && input.isTTY) {
78
input.setRawMode(false);
79
}
80
0 commit comments