Skip to content

Commit e98e8e3

Browse files
author
test2
committed
fix: raw mode fixes
1 parent 46599eb commit e98e8e3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"deploy": "npm run pkg && npm run notarize && npm run upload",
147147
"prepublishOnly": "npm run build"
148148
},
149-
"version": "1.2.1-beta.1",
149+
"version": "1.2.1-beta.2",
150150
"bugs": "https://github.com/codifycli/codify/issues",
151151
"keywords": [
152152
"oclif",

src/common/base-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export abstract class BaseCommand extends Command {
7777
}
7878

7979
if (data.options.stdin) {
80-
console.log(chalk.bgBlue.bold(` Plugin "${pluginName}" is requesting stdin `));
80+
console.log(chalk.bgBlue.bold(' Your input may be needed '));
8181
await this.reporter.setRawMode();
8282
}
8383

src/ui/reporters/default-reporter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class DefaultReporter implements Reporter {
150150
async disableRawMode(): Promise<void> {
151151
this.rawOutput = false;
152152
this.inkResumeStdin?.();
153-
process.stdin.setRawMode(true);
153+
process.stdin.setRawMode(false);
154154
cliCursor.hide(process.stdout);
155155

156156
// Wait for the terminal to settle before Ink resumes writing to stdout.

0 commit comments

Comments
 (0)