Download packages/tui/test/fixture/tui-runtime.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/tui/test/fixture/tui-runtime.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/tui/test/fixture/tui-runtime.ts
-
curl -L -o tui-runtime.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/tui/test/fixture/tui-runtime.ts
467 Bytes
| import { resolve, type Info, type Resolved } from "../../src/config" | |
| import { TuiKeybind } from "../../src/config/keybind" | |
| type ResolvedInput = Omit<Info, "attention" | "keybinds" | "leader_timeout"> & { | |
| attention?: Partial<Resolved["attention"]> | |
| keybinds?: Partial<TuiKeybind.Keybinds> | |
| leader_timeout?: number | |
| } | |
| export function createTuiResolvedConfig(input: ResolvedInput = {}) { | |
| return resolve(input, { terminalSuspend: process.platform !== "win32" }) | |
| } | |