rename commandline to typewriter #107

This commit is contained in:
Jon Eugster
2023-10-09 11:23:26 +02:00
committed by joneugster
parent c3a36e2cf3
commit 7b26280ae9
10 changed files with 91 additions and 90 deletions
+8 -8
View File
@@ -105,13 +105,13 @@ export const DeletedChatContext = React.createContext<{
})
export const InputModeContext = React.createContext<{
commandLineMode: boolean,
setCommandLineMode: React.Dispatch<React.SetStateAction<boolean>>,
commandLineInput: string,
setCommandLineInput: React.Dispatch<React.SetStateAction<string>>
typewriterMode: boolean,
setTypewriterMode: React.Dispatch<React.SetStateAction<boolean>>,
typewriterInput: string,
setTypewriterInput: React.Dispatch<React.SetStateAction<string>>
}>({
commandLineMode: true,
setCommandLineMode: () => {},
commandLineInput: "",
setCommandLineInput: () => {},
typewriterMode: true,
setTypewriterMode: () => {},
typewriterInput: "",
setTypewriterInput: () => {},
});