GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — claude-code-source-code/src/ink/components/AppContext.ts at main · unsignedcpp/claude-code-source-code Expand file tree/ Copy pathAppContext.tsMore file actions 21 lines (17 loc) · 523 Bytes / Copy pathAppContext.tsFile metadata and controls21 lines (17 loc) · 523 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 import { createContext } from 'react' export type Props = { /** * Exit (unmount) the whole Ink app. */ readonly exit: (error?: Error) => void } /** * `AppContext` is a React context, which exposes a method to manually exit the app (unmount). */ // eslint-disable-next-line @typescript-eslint/naming-convention const AppContext = createContext<Props>({ exit() {}, }) // eslint-disable-next-line custom-rules/no-top-level-side-effects AppContext.displayName = 'InternalAppContext' export default AppContext |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |