@taj-special/dravix-code 1.4.5 → 1.4.6
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
|
@@ -278,8 +278,8 @@ async function main() {
|
|
|
278
278
|
}
|
|
279
279
|
const rows = process.stdout.rows ?? 24;
|
|
280
280
|
const cols = process.stdout.columns ?? 80;
|
|
281
|
-
// FULL-SCREEN: clear everything, set scroll region to entire terminal
|
|
282
|
-
process.stdout.write('\x1b[2J'); // Clear
|
|
281
|
+
// FULL-SCREEN: clear everything including scrollback, set scroll region to entire terminal
|
|
282
|
+
process.stdout.write('\x1b[2J\x1b[3J'); // Clear screen + scrollback buffer
|
|
283
283
|
process.stdout.write(`\x1b[1;${rows}r`); // Scroll region = entire terminal
|
|
284
284
|
process.stdout.write('\x1b[1;1H'); // Move to top-left
|
|
285
285
|
// Draw the app (ONE logo only)
|