CliComputerExecutor constructor
CliComputerExecutor({})
Implementation
CliComputerExecutor({
required bool Function() getMouseAnimationEnabled,
required bool Function() getHideBeforeActionEnabled,
}) : _getMouseAnimationEnabled = getMouseAnimationEnabled,
_getHideBeforeActionEnabled = getHideBeforeActionEnabled,
_terminalBundleId = _detectTerminalBundleId(),
_surrogateHost = _detectTerminalBundleId() ?? cliHostBundleId {
if (!Platform.isMacOS) {
throw UnsupportedError(
'CliComputerExecutor is macOS-only. Current platform: ${Platform.operatingSystem}',
);
}
}