@corbat-tech/coco 2.17.0 → 2.17.1
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/index.js +4 -0
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -47479,6 +47479,10 @@ function createInputHandler(_session) {
|
|
|
47479
47479
|
closed = true;
|
|
47480
47480
|
process.stdout.write("\x1B[?2004l");
|
|
47481
47481
|
saveHistory(sessionHistory);
|
|
47482
|
+
if (process.stdin.isTTY) {
|
|
47483
|
+
process.stdin.setRawMode(false);
|
|
47484
|
+
}
|
|
47485
|
+
process.stdin.pause();
|
|
47482
47486
|
}
|
|
47483
47487
|
},
|
|
47484
47488
|
pause() {
|