xterm-addon-webgl
Advanced tools
Comparing version 0.14.0-beta.38 to 0.14.0-beta.39
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.14.0-beta.38", | ||
"version": "0.14.0-beta.39", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -10,3 +10,3 @@ /** | ||
import { Disposable, toDisposable } from 'common/Lifecycle'; | ||
import { isSafari } from 'common/Platform'; | ||
import { getSafariVersion, isSafari } from 'common/Platform'; | ||
import { ICoreService, IDecorationService, IOptionsService } from 'common/services/Services'; | ||
@@ -37,4 +37,4 @@ import { ICoreTerminal } from 'common/Types'; | ||
public activate(terminal: Terminal): void { | ||
if (isSafari) { | ||
throw new Error('Webgl is not currently supported on Safari'); | ||
if (isSafari && getSafariVersion() < 16) { | ||
throw new Error('Webgl2 is only supported on Safari 16 and above'); | ||
} | ||
@@ -41,0 +41,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
531487