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 ( -
+
@@ -156,10 +165,10 @@ class CmdInput extends React.Component<{}, {}> {
-
+
{/**
{inputModel.inputExpanded.get() ? "shrink" : "expand"} input ({renderCmdText("E")}) -
**/} +
**/} {!focusVal && (
focus input ({renderCmdText("I")}) @@ -171,6 +180,7 @@ class CmdInput extends React.Component<{}, {}> {
)}