@taj-special/dravix-code 1.4.4 → 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 CHANGED
@@ -269,13 +269,17 @@ async function main() {
269
269
  process.exit(0);
270
270
  }
271
271
  markProjectVisited(pHash);
272
- // Clear dialog before banner appears
273
- process.stdout.write('\x1b[2J\x1b[1;1H');
272
+ // Erase dialog: move cursor to each line and overwrite with spaces
273
+ const termCols = process.stdout.columns ?? 80;
274
+ const blank = ' '.repeat(termCols);
275
+ for (let i = 1; i <= 13; i++)
276
+ process.stdout.write(`\x1b[${i};1H${blank}`);
277
+ process.stdout.write('\x1b[1;1H');
274
278
  }
275
279
  const rows = process.stdout.rows ?? 24;
276
280
  const cols = process.stdout.columns ?? 80;
277
- // FULL-SCREEN: clear everything, set scroll region to entire terminal
278
- process.stdout.write('\x1b[2J'); // Clear entire screen
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
279
283
  process.stdout.write(`\x1b[1;${rows}r`); // Scroll region = entire terminal
280
284
  process.stdout.write('\x1b[1;1H'); // Move to top-left
281
285
  // Draw the app (ONE logo only)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taj-special/dravix-code",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "AI-powered coding assistant CLI — Dravix Code",
5
5
  "type": "module",
6
6
  "bin": {