From 57b681b07f9383c7f5db5ecf6e2367751f9fad6f Mon Sep 17 00:00:00 2001 From: "Zachary T. Harmany" Date: Tue, 7 Jun 2022 21:44:20 -0700 Subject: [PATCH] Skip dialog and just enable images. --- app/terminal/term.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/terminal/term.js b/app/terminal/term.js index 44da780182..bb8f9417f6 100644 --- a/app/terminal/term.js +++ b/app/terminal/term.js @@ -15,6 +15,10 @@ window.onload = async function() { term.getPrefs().set('user-css-text', termCss); term.getPrefs().set('screen-padding-size', 4); + // hterm supports iTerm's inline image protocol, + // enabeling by default avoids an odd confirmation dialog + term.getPrefs().set('allow-inline-images', true); + term.onTerminalReady = onTerminalReady; term.decorate(document.getElementById('terminal')); };