Fix bug where users are unable to re-enter disconnected terminals. (#8765)

This commit is contained in:
Jacob Richman
2025-09-20 10:59:37 -07:00
committed by GitHub
parent 07edf419ba
commit 29c4b49875
15 changed files with 267 additions and 55 deletions
@@ -0,0 +1,11 @@
/**
* @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);