aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/Console.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/components/Console.tsx')
-rw-r--r--src/console/components/Console.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/components/Console.tsx b/src/console/components/Console.tsx
index f6f4234..508c6eb 100644
--- a/src/console/components/Console.tsx
+++ b/src/console/components/Console.tsx
@@ -16,7 +16,7 @@ const Console: React.FC = () => {
switch (state.mode) {
case "command":
- return <CommandPrompt />;
+ return <CommandPrompt initialInputValue={state.consoleText} />;
case "find":
return <FindPrompt />;
case "info":