opencode-remote-control 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -81,6 +81,7 @@ async function promptToken() {
|
|
|
81
81
|
process.stdout.write('Enter your bot token: ');
|
|
82
82
|
// Read from stdin
|
|
83
83
|
const token = await new Promise((resolve) => {
|
|
84
|
+
process.stdin.resume();
|
|
84
85
|
process.stdin.setEncoding('utf8');
|
|
85
86
|
const cleanup = () => {
|
|
86
87
|
process.stdin.pause();
|
|
@@ -115,6 +116,7 @@ async function promptFeishuConfig() {
|
|
|
115
116
|
const promptInput = async (promptText) => {
|
|
116
117
|
process.stdout.write(promptText);
|
|
117
118
|
return new Promise((resolve) => {
|
|
119
|
+
process.stdin.resume();
|
|
118
120
|
process.stdin.setEncoding('utf8');
|
|
119
121
|
const cleanup = () => {
|
|
120
122
|
process.stdin.pause();
|