diff --git a/src/app/workspace/cmdinput/cmdinput.tsx b/src/app/workspace/cmdinput/cmdinput.tsx index a55f5470..9149e74d 100644 --- a/src/app/workspace/cmdinput/cmdinput.tsx +++ b/src/app/workspace/cmdinput/cmdinput.tsx @@ -67,6 +67,11 @@ class CmdInput extends React.Component<{}, {}> { GlobalModel.inputModel.giveFocus(); } + @boundMethod + cmdInputClick(): void { + GlobalModel.inputModel.giveFocus(); + } + @boundMethod clickHistoryHint(e: any): void { e.preventDefault(); @@ -109,7 +114,11 @@ class CmdInput extends React.Component<{}, {}> { let inputMode: string = inputModel.inputMode.get(); let textAreaInputKey = screen == null ? "null" : screen.screenId; return ( -