mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 17:11:04 -07:00
feat: implement /rewind command (#15720)
This commit is contained in:
@@ -76,6 +76,7 @@ interface SlashCommandProcessorActions {
|
||||
toggleDebugProfiler: () => void;
|
||||
dispatchExtensionStateUpdate: (action: ExtensionUpdateAction) => void;
|
||||
addConfirmUpdateExtensionRequest: (request: ConfirmationRequest) => void;
|
||||
setText: (text: string) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -210,7 +211,12 @@ export const useSlashCommandProcessor = (
|
||||
refreshStatic();
|
||||
setBannerVisible(false);
|
||||
},
|
||||
loadHistory,
|
||||
loadHistory: (history, postLoadInput) => {
|
||||
loadHistory(history);
|
||||
if (postLoadInput !== undefined) {
|
||||
actions.setText(postLoadInput);
|
||||
}
|
||||
},
|
||||
setDebugMessage: actions.setDebugMessage,
|
||||
pendingItem,
|
||||
setPendingItem,
|
||||
|
||||
Reference in New Issue
Block a user