Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
400 B · 10 lines
TypeScript
at main
1234567891011import { getKeybindings } from "@earendil-works/pi-tui";
/** * Onboarding owns the screen before the editor exists, so its panels answer the * exit keys themselves; otherwise Ctrl+C does nothing and the user is trapped. */export function isOnboardingExitKey(keyData: string): boolean { const kb = getKeybindings(); return kb.matches(keyData, "app.clear") || kb.matches(keyData, "app.exit");}