mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-07 11:51:14 -07:00
fix(ux) keyboard input hangs while waiting for keyboard input. (#10121)
This commit is contained in:
@@ -73,12 +73,14 @@ export const renderWithProviders = (
|
||||
settings = mockSettings,
|
||||
uiState: providedUiState,
|
||||
width,
|
||||
kittyProtocolEnabled = true,
|
||||
config = configProxy as unknown as Config,
|
||||
}: {
|
||||
shellFocus?: boolean;
|
||||
settings?: LoadedSettings;
|
||||
uiState?: Partial<UIState>;
|
||||
width?: number;
|
||||
kittyProtocolEnabled?: boolean;
|
||||
config?: Config;
|
||||
} = {},
|
||||
): ReturnType<typeof render> => {
|
||||
@@ -115,7 +117,7 @@ export const renderWithProviders = (
|
||||
<UIStateContext.Provider value={finalUiState}>
|
||||
<VimModeProvider settings={settings}>
|
||||
<ShellFocusContext.Provider value={shellFocus}>
|
||||
<KeypressProvider kittyProtocolEnabled={true}>
|
||||
<KeypressProvider kittyProtocolEnabled={kittyProtocolEnabled}>
|
||||
{component}
|
||||
</KeypressProvider>
|
||||
</ShellFocusContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user