sigrank 0.12.3 → 0.12.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/tui.mjs +2 -0
package/README.md CHANGED
@@ -67,7 +67,7 @@ sigrank
67
67
  ## Commands
68
68
 
69
69
  ```
70
- ⊙ SigRank CLI v0.12.1
70
+ ⊙ SigRank CLI v0.12.3
71
71
 
72
72
  Default (no args)
73
73
  sigrank unified dashboard: cascade + token pillars + board
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigrank",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "SigRank MCP server — the yield cascade + live leaderboard as MCP tools any agent can call",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/tui.mjs CHANGED
@@ -57,6 +57,7 @@ const green = (s) => paint(c.green, s)
57
57
  const red = (s) => paint(c.red, s)
58
58
 
59
59
  const CLEAR = `${ESC}H${ESC}2J` // home + erase visible area
60
+ const CLEAR_SB = `${ESC}3J` // clear scrollback/saved lines (prevents scroll-up past TUI)
60
61
  const ENTER_ALT = `${ESC}?1049h` // enter alternate screen buffer
61
62
  const EXIT_ALT = `${ESC}?1049l` // exit alternate screen buffer (restores original)
62
63
  const HIDE = `${ESC}?25l`
@@ -1334,6 +1335,7 @@ export async function runTui({ platform: initPlatform = 'claude', window: win =
1334
1335
  }
1335
1336
 
1336
1337
  write(ENTER_ALT) // switch to alternate screen — original terminal state preserved on exit
1338
+ write(CLEAR_SB) // FIXED-WINDOW (2026-06-27): clear scrollback so nothing is above the TUI
1337
1339
  write(HIDE)
1338
1340
  write(CLEAR)
1339
1341