Open History to see the last commit
1import { createContext } from "react";
2
3/**
4 * True for a thread kept mounted under Settings or Usage, or shown as a side chat in its
5 * parent's panel; its global shortcuts and listeners stand down.
6 */
7export const BackgroundThreadContext = createContext(false);
8
9/** True only for a thread kept mounted out of sight under Settings or Usage. */
10export const HiddenThreadContext = createContext(false);