promptgraph-mcp 2.2.4 → 2.2.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tui.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgraph-mcp",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "bin": {
package/tui.js CHANGED
@@ -85,7 +85,7 @@ function render(state, installedSet = new Set()) {
85
85
  const skills = items.filter(i => i.type === 'skill').length;
86
86
  const bundles = items.filter(i => i.type === 'bundle').length;
87
87
 
88
- write('\x1b[H\x1b[J'); // go home + clear to end (no flicker vs full CLEAR)
88
+ write('\x1b[H'); // go home screen already cleared on init, just reposition
89
89
 
90
90
  // ── header ─────────────────────────────────────────────────────────────────
91
91
  // Row 1: title bar
@@ -225,7 +225,7 @@ export async function runTUI(allSkills, allBundles, installFn, installedSet = ne
225
225
  }
226
226
 
227
227
  // Setup terminal
228
- write(HIDE + CLEAR);
228
+ write(HIDE + CLEAR + '\x1b[H\x1b[J');
229
229
  readline.emitKeypressEvents(process.stdin);
230
230
  if (process.stdin.isTTY) process.stdin.setRawMode(true);
231
231