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

Function resolveRunTuiConfig

packages/opencode/src/cli/cmd/run/runtime.boot.ts:196–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194
195// Reads TUI config once for direct mode keymap setup and display preferences.
196export async function resolveRunTuiConfig(): Promise<RunTuiConfig> {
197 return runtime.runPromise((svc) => svc.resolveRunTuiConfig()).catch(() => defaultRunTuiConfig())
198}
199
200export async function resolveDiffStyle(): Promise<RunDiffStyle> {
201 return runtime.runPromise((svc) => svc.resolveDiffStyle()).catch(() => "auto")

Callers 2

runInteractiveRuntimeFunction · 0.90

Calls 1

defaultRunTuiConfigFunction · 0.85

Tested by

no test coverage detected