MCPcopy Index your code
hub / github.com/anomalyco/opencode / createScrollback

Method createScrollback

packages/opencode/src/cli/cmd/run/footer.ts:220–233  ·  view source on GitHub ↗
(wrote: boolean)

Source from the content-addressed store, hash-verified

218 private themeRefreshTimeouts: NodeJS.Timeout[] = []
219
220 private createScrollback(wrote: boolean): RunScrollbackStream {
221 return new RunScrollbackStream(this.renderer, this.theme(), {
222 diffStyle: this.options.diffStyle,
223 wrote,
224 sessionID: this.options.sessionID,
225 treeSitterClient: this.options.treeSitterClient,
226 onThemeRelease: (theme) => {
227 void this.renderer
228 .idle()
229 .catch(() => {})
230 .finally(() => this.destroyTheme(theme))
231 },
232 })
233 }
234
235 constructor(
236 private renderer: CliRenderer,

Callers 2

constructorMethod · 0.95
resetForReplayMethod · 0.95

Calls 2

destroyThemeMethod · 0.95
idleMethod · 0.80

Tested by

no test coverage detected