tabminal 3.0.32 → 3.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/app.js +9 -1
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -9800,7 +9800,15 @@ class Session {
|
|
|
9800
9800
|
|
|
9801
9801
|
const textarea = this.mainTerm.textarea
|
|
9802
9802
|
|| root.querySelector('textarea');
|
|
9803
|
-
const handler = () =>
|
|
9803
|
+
const handler = (event) => {
|
|
9804
|
+
this.claimTerminalControl();
|
|
9805
|
+
if (
|
|
9806
|
+
event?.type === 'touchstart'
|
|
9807
|
+
&& this.isMainTerminalVisible()
|
|
9808
|
+
) {
|
|
9809
|
+
this.mainTerm.focus();
|
|
9810
|
+
}
|
|
9811
|
+
};
|
|
9804
9812
|
|
|
9805
9813
|
root.addEventListener('mousedown', handler, true);
|
|
9806
9814
|
root.addEventListener('touchstart', handler, true);
|