@gorlitzer-labs/seldon 0.1.6 → 0.1.7
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/bin/seldon.js +2 -0
- package/package.json +1 -1
package/bin/seldon.js
CHANGED
|
@@ -242,6 +242,8 @@ function tui() {
|
|
|
242
242
|
const finish = (ids) => {
|
|
243
243
|
process.stdin.off("keypress", onKey);
|
|
244
244
|
if (process.stdin.isTTY) process.stdin.setRawMode(false);
|
|
245
|
+
process.stdin.pause(); // emitKeypressEvents resumed stdin; without this the
|
|
246
|
+
process.stdin.unref(); // event loop stays alive and the process hangs after install
|
|
245
247
|
readline.cursorTo(process.stdout, 0); readline.clearScreenDown(process.stdout);
|
|
246
248
|
resolve(ids);
|
|
247
249
|
};
|