diff --git a/src/pages/instances/InstanceTerminal.tsx b/src/pages/instances/InstanceTerminal.tsx index ad7db00c05..73e55bd24f 100644 --- a/src/pages/instances/InstanceTerminal.tsx +++ b/src/pages/instances/InstanceTerminal.tsx @@ -143,6 +143,7 @@ const InstanceTerminal: FC = ({ instance }) => { ); } setDataWs(null); + setUserInteracted(false); }; data.binaryType = "arraybuffer"; diff --git a/src/pages/instances/InstanceTextConsole.tsx b/src/pages/instances/InstanceTextConsole.tsx index aef097fa03..5133cbc2f2 100644 --- a/src/pages/instances/InstanceTextConsole.tsx +++ b/src/pages/instances/InstanceTextConsole.tsx @@ -118,6 +118,7 @@ const InstanceTextConsole: FC = ({ onFailure("Error", event.reason, getWsErrorMsg(event.code)); } setDataWs(null); + setUserInteracted(false); }; data.binaryType = "arraybuffer";