@taj-special/dravix-code 1.4.3 → 1.4.4
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 +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -79,8 +79,6 @@ async function showFirstTimeDialog(projectName) {
|
|
|
79
79
|
}
|
|
80
80
|
function cleanup() {
|
|
81
81
|
process.stdin.removeListener('data', onKey);
|
|
82
|
-
process.stdin.setRawMode(false);
|
|
83
|
-
process.stdin.pause();
|
|
84
82
|
}
|
|
85
83
|
process.stdin.on('data', onKey);
|
|
86
84
|
});
|
|
@@ -271,6 +269,8 @@ async function main() {
|
|
|
271
269
|
process.exit(0);
|
|
272
270
|
}
|
|
273
271
|
markProjectVisited(pHash);
|
|
272
|
+
// Clear dialog before banner appears
|
|
273
|
+
process.stdout.write('\x1b[2J\x1b[1;1H');
|
|
274
274
|
}
|
|
275
275
|
const rows = process.stdout.rows ?? 24;
|
|
276
276
|
const cols = process.stdout.columns ?? 80;
|