[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

fix(#103): restore raw mode on unblock (#104)

authored by

Christian Preston and committed by
GitHub
(Aug 9, 2023, 9:32 AM EDT) 8eff6ced 956825c1

+6
+5
.changeset/twelve-shrimps-report.md
··· 1 + --- 2 + '@clack/core': patch 3 + --- 4 + 5 + fix: restore raw mode on unblock
+1
packages/core/src/utils.ts
··· 40 40 return () => { 41 41 input.off('keypress', clear); 42 42 if (hideCursor) process.stdout.write(cursor.show); 43 + if (input.isTTY) input.setRawMode(false); 43 44 44 45 // @ts-expect-error fix for https://github.com/nodejs/node/issues/31762#issuecomment-1441223907 45 46 rl.terminal = false;