@deepseek-harness-tui/dsh-tui 0.19.0 → 0.20.1

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 (224) hide show
  1. package/README.md +67 -57
  2. package/bin/dsh-tui.js +26 -8
  3. package/cordis.patch.yml +5 -3
  4. package/cordis.yml +3 -2
  5. package/guide/dsh-tui-guide/claude-backend.en.md +6 -5
  6. package/guide/dsh-tui-guide/claude-backend.md +5 -5
  7. package/guide/dsh-tui-guide/configuration.en.md +1 -1
  8. package/guide/dsh-tui-guide/configuration.md +1 -1
  9. package/guide/dsh-tui-guide/getting-started.en.md +2 -2
  10. package/guide/dsh-tui-guide/getting-started.md +2 -2
  11. package/guide/dsh-tui-guide/migrate.en.md +5 -0
  12. package/guide/dsh-tui-guide/migrate.md +4 -0
  13. package/guide/dsh-tui-guide/plugins.en.md +17 -1
  14. package/guide/dsh-tui-guide/plugins.md +12 -1
  15. package/guide/dsh-tui-guide/user-guide.en.md +7 -2
  16. package/guide/dsh-tui-guide/user-guide.md +7 -2
  17. package/lib/settings.json +24 -8
  18. package/lib/types/adapter/kernel/host-facade.d.ts +3 -1
  19. package/lib/types/adapter/kernel/host-facade.d.ts.map +1 -1
  20. package/lib/types/adapter/kernel/host-facade.js +6 -0
  21. package/lib/types/adapter/kernel/runtime.d.ts.map +1 -1
  22. package/lib/types/adapter/kernel/runtime.js +5 -0
  23. package/lib/types/adapter/kernel/slices/extensions.d.ts +1 -0
  24. package/lib/types/adapter/kernel/slices/extensions.d.ts.map +1 -1
  25. package/lib/types/adapter/kernel/slices/extensions.js +6 -1
  26. package/lib/types/adapter/kernel/slices/index.d.ts +1 -1
  27. package/lib/types/adapter/kernel/slices/index.d.ts.map +1 -1
  28. package/lib/types/adapter/kernel/slices/index.js +3 -2
  29. package/lib/types/adapter/ports/channel-catalog.d.ts +19 -0
  30. package/lib/types/adapter/ports/channel-catalog.d.ts.map +1 -1
  31. package/lib/types/adapter/ports/channel-view.d.ts +39 -3
  32. package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
  33. package/lib/types/adapter/ports/extensions.d.ts +9 -0
  34. package/lib/types/adapter/ports/extensions.d.ts.map +1 -1
  35. package/lib/types/adapter/ports/index.d.ts +1 -1
  36. package/lib/types/adapter/ports/index.d.ts.map +1 -1
  37. package/lib/types/adapter/upstream/extensions-driver.d.ts +4 -1
  38. package/lib/types/adapter/upstream/extensions-driver.d.ts.map +1 -1
  39. package/lib/types/adapter/upstream/extensions-driver.js +111 -1
  40. package/lib/types/adapter/upstream/index.d.ts +1 -1
  41. package/lib/types/adapter/upstream/index.d.ts.map +1 -1
  42. package/lib/types/adapter/upstream/index.js +1 -1
  43. package/lib/types/agent/events.d.ts +3 -1
  44. package/lib/types/agent/events.d.ts.map +1 -1
  45. package/lib/types/api.d.ts +1 -1
  46. package/lib/types/api.d.ts.map +1 -1
  47. package/lib/types/backends/claude/backend.d.ts.map +1 -1
  48. package/lib/types/backends/claude/backend.js +7 -2
  49. package/lib/types/backends/claude/tools.d.ts.map +1 -1
  50. package/lib/types/backends/claude/tools.js +8 -3
  51. package/lib/types/backends/codex/translate/presentation.d.ts.map +1 -1
  52. package/lib/types/backends/codex/translate/presentation.js +5 -2
  53. package/lib/types/channel/interaction.d.ts.map +1 -1
  54. package/lib/types/channel/interaction.js +1 -0
  55. package/lib/types/channel/permissions.d.ts +15 -0
  56. package/lib/types/channel/permissions.d.ts.map +1 -1
  57. package/lib/types/channel/permissions.js +28 -0
  58. package/lib/types/channel/projection.d.ts.map +1 -1
  59. package/lib/types/channel/projection.js +11 -1
  60. package/lib/types/channel/questions.d.ts +26 -0
  61. package/lib/types/channel/questions.d.ts.map +1 -1
  62. package/lib/types/channel/questions.js +43 -0
  63. package/lib/types/commands.js +1 -1
  64. package/lib/types/components/FileSuggestions.d.ts +2 -2
  65. package/lib/types/components/FileSuggestions.d.ts.map +1 -1
  66. package/lib/types/components/FileSuggestions.js +25 -5
  67. package/lib/types/components/MessageList.d.ts.map +1 -1
  68. package/lib/types/components/MessageList.js +3 -3
  69. package/lib/types/components/PromptInput.d.ts +7 -1
  70. package/lib/types/components/PromptInput.d.ts.map +1 -1
  71. package/lib/types/components/PromptInput.js +81 -23
  72. package/lib/types/components/SplitDiffView.d.ts.map +1 -1
  73. package/lib/types/components/SplitDiffView.js +3 -2
  74. package/lib/types/components/StarPrompt.d.ts +5 -3
  75. package/lib/types/components/StarPrompt.d.ts.map +1 -1
  76. package/lib/types/components/StarPrompt.js +56 -6
  77. package/lib/types/components/SubagentCard.d.ts.map +1 -1
  78. package/lib/types/components/SubagentCard.js +1 -1
  79. package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
  80. package/lib/types/components/SubagentDashboard.js +3 -2
  81. package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
  82. package/lib/types/components/SubagentDetailScene.js +1 -1
  83. package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
  84. package/lib/types/components/messages/AssistantToolUseMessage.js +121 -23
  85. package/lib/types/components/teamRoster.d.ts +6 -3
  86. package/lib/types/components/teamRoster.d.ts.map +1 -1
  87. package/lib/types/dsh-adapter/approvals.d.ts +19 -0
  88. package/lib/types/dsh-adapter/approvals.d.ts.map +1 -1
  89. package/lib/types/dsh-adapter/approvals.js +17 -1
  90. package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
  91. package/lib/types/dsh-adapter/backend/translate.js +15 -3
  92. package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
  93. package/lib/types/dsh-adapter/channel/extensions.js +7 -4
  94. package/lib/types/dsh-adapter/channel/local-actions.d.ts.map +1 -1
  95. package/lib/types/dsh-adapter/channel/local-actions.js +7 -3
  96. package/lib/types/dsh-adapter/channel/projection-helpers.d.ts.map +1 -1
  97. package/lib/types/dsh-adapter/channel/projection-helpers.js +4 -2
  98. package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
  99. package/lib/types/dsh-adapter/channel/settings-host.js +179 -33
  100. package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +55 -4
  101. package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
  102. package/lib/types/dsh-adapter/channel/subagent-projection.js +80 -16
  103. package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts +1 -1
  104. package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts.map +1 -1
  105. package/lib/types/dsh-adapter/channel/subagent-transcript.js +6 -5
  106. package/lib/types/dsh-adapter/channel/task-completion.js +2 -10
  107. package/lib/types/dsh-adapter/childStderr.d.ts +1 -1
  108. package/lib/types/dsh-adapter/childStderr.d.ts.map +1 -1
  109. package/lib/types/dsh-adapter/childStderr.js +5 -0
  110. package/lib/types/dsh-adapter/compat/compaction-previews.d.ts +11 -0
  111. package/lib/types/dsh-adapter/compat/compaction-previews.d.ts.map +1 -0
  112. package/lib/types/dsh-adapter/compat/compaction-previews.js +38 -0
  113. package/lib/types/dsh-adapter/compat/messages.d.ts +1 -1
  114. package/lib/types/dsh-adapter/compat/messages.d.ts.map +1 -1
  115. package/lib/types/dsh-adapter/compat/messages.js +2 -2
  116. package/lib/types/dsh-adapter/contract.d.ts +12 -5
  117. package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
  118. package/lib/types/dsh-adapter/contract.js +15 -4
  119. package/lib/types/dsh-adapter/experimental-bundles.d.ts +5 -0
  120. package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
  121. package/lib/types/dsh-adapter/experimental-bundles.js +0 -2
  122. package/lib/types/dsh-adapter/extensions.d.ts +3 -2
  123. package/lib/types/dsh-adapter/extensions.d.ts.map +1 -1
  124. package/lib/types/dsh-adapter/extensions.js +5 -2
  125. package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
  126. package/lib/types/dsh-adapter/host-contract.js +2 -2
  127. package/lib/types/dsh-adapter/host-dsh.d.ts +6 -0
  128. package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
  129. package/lib/types/dsh-adapter/host-dsh.js +29 -0
  130. package/lib/types/dsh-adapter/index.d.ts +9 -1
  131. package/lib/types/dsh-adapter/index.d.ts.map +1 -1
  132. package/lib/types/dsh-adapter/index.js +5 -0
  133. package/lib/types/dsh-adapter/mention-providers.d.ts +91 -0
  134. package/lib/types/dsh-adapter/mention-providers.d.ts.map +1 -0
  135. package/lib/types/dsh-adapter/mention-providers.js +214 -0
  136. package/lib/types/dsh-adapter/migrate/entry.d.ts +2 -0
  137. package/lib/types/dsh-adapter/migrate/entry.d.ts.map +1 -0
  138. package/lib/types/dsh-adapter/migrate/entry.js +46 -0
  139. package/lib/types/dsh-adapter/oauth/account-notifications.d.ts +73 -0
  140. package/lib/types/dsh-adapter/oauth/account-notifications.d.ts.map +1 -0
  141. package/lib/types/dsh-adapter/oauth/account-notifications.js +250 -0
  142. package/lib/types/dsh-adapter/oauth/bonus.d.ts +34 -9
  143. package/lib/types/dsh-adapter/oauth/bonus.d.ts.map +1 -1
  144. package/lib/types/dsh-adapter/oauth/bonus.js +47 -5
  145. package/lib/types/dsh-adapter/oauth/deepseek.d.ts +7 -2
  146. package/lib/types/dsh-adapter/oauth/deepseek.d.ts.map +1 -1
  147. package/lib/types/dsh-adapter/oauth/deepseek.js +6 -1
  148. package/lib/types/dsh-adapter/oauth/index.d.ts.map +1 -1
  149. package/lib/types/dsh-adapter/oauth/index.js +44 -0
  150. package/lib/types/dsh-adapter/oauth/service.d.ts.map +1 -1
  151. package/lib/types/dsh-adapter/oauth/service.js +5 -6
  152. package/lib/types/dsh-adapter/plugin-manage.d.ts +6 -4
  153. package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
  154. package/lib/types/dsh-adapter/plugin-manage.js +3 -2
  155. package/lib/types/dsh-adapter/plugin.d.ts +237 -6
  156. package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
  157. package/lib/types/dsh-adapter/plugin.js +611 -23
  158. package/lib/types/dsh-adapter/session-projection-store.d.ts +1 -1
  159. package/lib/types/dsh-adapter/session-projection-store.d.ts.map +1 -1
  160. package/lib/types/dsh-adapter/session-projection-store.js +30 -23
  161. package/lib/types/dsh-adapter/sessionTree.d.ts.map +1 -1
  162. package/lib/types/dsh-adapter/sessionTree.js +4 -1
  163. package/lib/types/dsh-adapter/subagents.d.ts +1 -0
  164. package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
  165. package/lib/types/dsh-adapter/subagents.js +10 -2
  166. package/lib/types/dsh-adapter/team-mode.d.ts +29 -17
  167. package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
  168. package/lib/types/dsh-adapter/team-mode.js +138 -17
  169. package/lib/types/dsh-adapter/team-roster.d.ts +53 -18
  170. package/lib/types/dsh-adapter/team-roster.d.ts.map +1 -1
  171. package/lib/types/dsh-adapter/team-roster.js +206 -39
  172. package/lib/types/dsh-adapter/team-tools.d.ts +25 -12
  173. package/lib/types/dsh-adapter/team-tools.d.ts.map +1 -1
  174. package/lib/types/dsh-adapter/team-tools.js +81 -26
  175. package/lib/types/extensions.d.ts +2 -0
  176. package/lib/types/extensions.d.ts.map +1 -1
  177. package/lib/types/extensions.js +4 -1
  178. package/lib/types/i18n.d.ts +71 -11
  179. package/lib/types/i18n.d.ts.map +1 -1
  180. package/lib/types/i18n.js +32 -9
  181. package/lib/types/ink/dom.d.ts.map +1 -1
  182. package/lib/types/ink/dom.js +13 -3
  183. package/lib/types/ink/flush-tick.d.ts +6 -0
  184. package/lib/types/ink/flush-tick.d.ts.map +1 -1
  185. package/lib/types/ink/flush-tick.js +31 -0
  186. package/lib/types/ink/hooks/use-terminal-title.d.ts +15 -0
  187. package/lib/types/ink/hooks/use-terminal-title.d.ts.map +1 -1
  188. package/lib/types/ink/hooks/use-terminal-title.js +23 -3
  189. package/lib/types/ink/ink.js +2 -2
  190. package/lib/types/ink/jumpback-state.d.ts +33 -0
  191. package/lib/types/ink/jumpback-state.d.ts.map +1 -0
  192. package/lib/types/ink/jumpback-state.js +51 -0
  193. package/lib/types/ink/jumpback.d.ts +78 -0
  194. package/lib/types/ink/jumpback.d.ts.map +1 -0
  195. package/lib/types/ink/jumpback.js +515 -0
  196. package/lib/types/ink/log-update.js +37 -14
  197. package/lib/types/ink/notify-helper/activate.cs +836 -0
  198. package/lib/types/ink/notify-helper/compile.d.ts +30 -0
  199. package/lib/types/ink/notify-helper/compile.d.ts.map +1 -0
  200. package/lib/types/ink/notify-helper/compile.js +235 -0
  201. package/lib/types/ink/terminal-notification-windows.d.ts +8 -4
  202. package/lib/types/ink/terminal-notification-windows.d.ts.map +1 -1
  203. package/lib/types/ink/terminal-notification-windows.js +14 -21
  204. package/lib/types/ink/terminal-notification.d.ts +31 -2
  205. package/lib/types/ink/terminal-notification.d.ts.map +1 -1
  206. package/lib/types/ink/terminal-notification.js +51 -0
  207. package/lib/types/ink/terminal.d.ts +2 -1
  208. package/lib/types/ink/terminal.d.ts.map +1 -1
  209. package/lib/types/ink/terminal.js +9 -4
  210. package/lib/types/screens/AgentTranscriptScene.d.ts.map +1 -1
  211. package/lib/types/screens/AgentTranscriptScene.js +1 -1
  212. package/lib/types/screens/Chat.d.ts +8 -4
  213. package/lib/types/screens/Chat.d.ts.map +1 -1
  214. package/lib/types/screens/Chat.js +40 -11
  215. package/lib/types/settings/definitions.d.ts +12 -0
  216. package/lib/types/settings/definitions.d.ts.map +1 -1
  217. package/lib/types/settings/definitions.js +15 -7
  218. package/lib/types/utils/fileSuggestions.d.ts +14 -3
  219. package/lib/types/utils/fileSuggestions.d.ts.map +1 -1
  220. package/lib/types/utils/fileSuggestions.js +33 -0
  221. package/package.json +117 -112
  222. package/presets/liangshen/agent.cordis.yml +4 -0
  223. package/tui-profile/feed/README.md +1 -1
  224. package/tui-profile/feed/first-party.json +1 -1
@@ -361,7 +361,7 @@ export class LogUpdate {
361
361
  // Unreachable frame rows = terminal scrollback. Two contributors, take
362
362
  // the MAX, never the sum: after an anchored shrink repaint the pad rows
363
363
  // ARE the scrollback (heights undercount while H < V); once growth
364
- // scrolls the blank band away, the heights formula takes over (summing
364
+ // scrolls those rows out, the heights formula takes over (summing
365
365
  // would overcount and skip REACHABLE viewport rows — changes inside
366
366
  // the viewport would never paint, scrambling the layout on mid-frame
367
367
  // edits like Ctrl+O expansion).
@@ -613,9 +613,16 @@ function fullResetSequence_CAUSES_FLICKER(frame, reason, stylePool, debug) {
613
613
  const height = frame.screen.height;
614
614
  const contentRows = Math.min(height, Math.max(1, frame.viewport.height - 1));
615
615
  const startY = height - contentRows;
616
+ // A frame shorter than the viewport is anchored to the BOTTOM, not the top:
617
+ // pad the rows above it so its tail ends on the cursor-park row. Painting it
618
+ // from the viewport top strands the composer/status block in the upper half
619
+ // with blank rows below, and nothing re-anchors it while the frame fits (the
620
+ // steady-state diff emits no LFs then) — issue #1919.
621
+ const blankBand = Math.max(0, frame.viewport.height - 1 - contentRows);
622
+ const anchor = blankBand > 0 ? [{ type: 'stdout', content: cursorDown(blankBand) }] : [];
616
623
  const screen = new VirtualScreen({ x: 0, y: startY }, frame.viewport.width);
617
624
  renderFrameSlice(screen, frame, startY, height, stylePool, false);
618
- return [{ type: 'clearTerminal', reason, debug }, ...screen.diff];
625
+ return [{ type: 'clearTerminal', reason, debug }, ...anchor, ...screen.diff];
619
626
  }
620
627
  /**
621
628
  * Anchored tail repaint for shrink-to-fit frames — the fix for the
@@ -630,14 +637,14 @@ function fullResetSequence_CAUSES_FLICKER(frame, reason, stylePool, debug) {
630
637
  * common small shrink — a fold, a spinner unmounting): those rows
631
638
  * already live in scrollback and keep their originals. Erase the
632
639
  * viewport in place (no 2J — history untouched) and repaint ONLY the
633
- * changed tail, anchored at the viewport BOTTOM so the frame continues
634
- * the scrollback seamlessly. The leading blank band is recorded as
635
- * `anchoredPad` so later frames' viewportY math skips the scrollback
636
- * rows and relative addressing stays consistent (the band scrolls away
637
- * naturally as the next turn grows).
640
+ * changed tail, starting at the viewport TOP so its first row sits
641
+ * directly under the scrollback's deepest row and the frame continues
642
+ * the transcript seamlessly. The `skip` rows that stayed in scrollback
643
+ * are recorded as `anchoredPad`, so later frames' viewportY math skips
644
+ * them and relative addressing stays consistent.
638
645
  * - The frame's top content CHANGED (a panel collapsing, 38 rows → 2):
639
646
  * nothing in scrollback represents the new frame — repaint the whole
640
- * short frame top-anchored, matching a fresh render (collapse-shrink's
647
+ * short frame bottom-anchored, matching a fresh render (collapse-shrink's
641
648
  * contract), pad 0.
642
649
  */
643
650
  function shrinkAnchoredRepaint(prev, next, stylePool, scrollbackRows) {
@@ -649,7 +656,7 @@ function shrinkAnchoredRepaint(prev, next, stylePool, scrollbackRows) {
649
656
  // status header's ticking counters) don't matter — only the seam does.
650
657
  // Walk the skip down until the seam matches; 0 means the frame's top
651
658
  // content changed (a collapsing panel) and the whole short frame gets a
652
- // top-anchored repaint instead.
659
+ // bottom-anchored repaint instead.
653
660
  const width = Math.min(prev.screen.width, next.screen.width);
654
661
  const rowsDiffer = (y) => {
655
662
  if (y >= prev.screen.height || y >= next.screen.height)
@@ -668,18 +675,28 @@ function shrinkAnchoredRepaint(prev, next, stylePool, scrollbackRows) {
668
675
  const viewportHeight = prev.viewport.height;
669
676
  const height = next.screen.height;
670
677
  if (skip <= 0) {
671
- // Top-anchored whole-frame repaint — the fresh-render layout.
678
+ // Whole-frame repaint anchored at the viewport bottom — the fresh-render
679
+ // layout for frames that fit. Padding the leading rows keeps a short frame
680
+ // on the park row instead of stranding it at the viewport top (#1919).
672
681
  const contentRows = Math.min(height, Math.max(1, viewportHeight - 1));
673
682
  const startY = height - contentRows;
674
- const anchor = CURSOR_HOME + eraseToEndOfScreen();
683
+ const blankBand = Math.max(0, viewportHeight - 1 - contentRows);
684
+ const anchor = CURSOR_HOME + eraseToEndOfScreen() + (blankBand > 0 ? cursorDown(blankBand) : '');
675
685
  const screen = new VirtualScreen({ x: 0, y: startY }, next.viewport.width);
676
686
  renderFrameSlice(screen, next, startY, height, stylePool, false);
677
687
  return { patches: [{ type: 'stdout', content: anchor }, ...screen.diff], anchoredPad: 0 };
678
688
  }
679
689
  const rowsToPaint = Math.max(1, Math.min(height, viewportHeight - 1, height - skip));
680
690
  const startY = height - rowsToPaint;
681
- const blankBand = Math.max(0, viewportHeight - 1 - rowsToPaint);
682
- const anchor = CURSOR_HOME + eraseToEndOfScreen() + (blankBand > 0 ? cursorDown(blankBand) : '');
691
+ // Paint the tail flush with the viewport top: frame row `skip` (the first
692
+ // row without a scrollback original) lands directly under the scrollback's
693
+ // deepest row. Bottom-aligning the tail instead manufactures a blank band
694
+ // between them, which is the narrow-resize gap: a frame that fits the
695
+ // viewport has no rows stranded in scrollback, so the band is pure hole
696
+ // between the transcript and the last row (the status hint) pinned near
697
+ // the viewport bottom. A frame that still overflows paints the full
698
+ // viewport either way, so this only decides the fitting case.
699
+ const anchor = CURSOR_HOME + eraseToEndOfScreen();
683
700
  const screen = new VirtualScreen({ x: 0, y: startY }, next.viewport.width);
684
701
  renderFrameSlice(screen, next, startY, height, stylePool, false);
685
702
  return {
@@ -745,6 +762,11 @@ function viewportRepaintPatches(prev, next, stylePool, resetPrefix, origin) {
745
762
  // steady state, where the park LF materializes one row below the frame).
746
763
  const contentRows = Math.min(height, viewportHeight - 1);
747
764
  const startY = height - contentRows;
765
+ // Bottom-anchor a frame shorter than the viewport: pad the leading rows so
766
+ // the frame tail lands on the cursor-park row (issue #1919). Painting from
767
+ // the viewport top leaves the composer/status block stranded in the upper
768
+ // half with blank rows below, and no later frame re-anchors it.
769
+ const blankBand = Math.max(0, viewportHeight - 1 - contentRows);
748
770
  // Anchor with CSI H (cursor to viewport origin) instead of a RELATIVE
749
771
  // cursor-up walk. The relative form assumed the physical cursor sits
750
772
  // exactly on the park row — an assumption that breaks after a terminal
@@ -759,7 +781,8 @@ function viewportRepaintPatches(prev, next, stylePool, resetPrefix, origin) {
759
781
  // prompt/status pixels survive below short content.
760
782
  const anchor = (resetPrefix ? SGR_RESET + LINK_END : '') +
761
783
  CURSOR_HOME +
762
- eraseToEndOfScreen();
784
+ eraseToEndOfScreen() +
785
+ (blankBand > 0 ? cursorDown(blankBand) : '');
763
786
  const screen = new VirtualScreen({ x: 0, y: startY }, next.viewport.width);
764
787
  renderFrameSlice(screen, next, startY, height, stylePool, false);
765
788
  return [{ type: 'stdout', content: anchor }, ...screen.diff];