diff --git a/addons/xterm-addon-ligatures/src/index.ts b/addons/xterm-addon-ligatures/src/index.ts index 4364bfe5..82589e36 100644 --- a/addons/xterm-addon-ligatures/src/index.ts +++ b/addons/xterm-addon-ligatures/src/index.ts @@ -63,7 +63,9 @@ export function enableLigatures(term: Terminal, fallbackLigatures: string[] = [] // sure our font is still vaild. if (currentCallFontName === term.options.fontFamily) { loadingState = LoadingState.FAILED; - console.warn(loadError, new Error('Failure while loading font')); + if (term.options.logLevel === 'debug') { + console.debug(loadError, new Error('Failure while loading font')); + } font = undefined; loadError = e; }