Files
gemini-cli/packages/cli/src/ui/contexts/ShellFocusContext.tsx

12 lines
276 B
TypeScript

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { createContext, useContext } from 'react';
export const ShellFocusContext = createContext<boolean>(true);
export const useShellFocusState = () => useContext(ShellFocusContext);