@electerm/electerm-react 1.50.65 → 1.50.66
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.
|
@@ -330,13 +330,14 @@ clear\r`
|
|
|
330
330
|
type,
|
|
331
331
|
cmd,
|
|
332
332
|
selectedTabIds = [],
|
|
333
|
+
currentTabId,
|
|
333
334
|
pid,
|
|
334
335
|
inputOnly,
|
|
335
336
|
zoomValue
|
|
336
337
|
} = e?.data || {}
|
|
337
338
|
|
|
338
339
|
const { id: currentTabIdProp } = this.props.tab
|
|
339
|
-
const tabIdMatch = selectedTabIds.includes(currentTabIdProp)
|
|
340
|
+
const tabIdMatch = selectedTabIds.includes(currentTabIdProp) || currentTabId === currentTabIdProp
|
|
340
341
|
if (
|
|
341
342
|
action === terminalActions.zoom &&
|
|
342
343
|
tabIdMatch
|
|
@@ -348,10 +349,7 @@ clear\r`
|
|
|
348
349
|
) {
|
|
349
350
|
this.switchEncoding(encode)
|
|
350
351
|
} else if (
|
|
351
|
-
action === terminalActions.batchInput &&
|
|
352
|
-
(
|
|
353
|
-
tabIdMatch
|
|
354
|
-
)
|
|
352
|
+
action === terminalActions.batchInput && tabIdMatch
|
|
355
353
|
) {
|
|
356
354
|
this.batchInput(cmd)
|
|
357
355
|
} else if (
|