Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/terminal/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ window.onload = async function() {
// Creating and preloading the <audio> element for this sometimes hangs WebKit on iOS 16 for some reason. Can be most easily reproduced by resetting a simulator and starting the app. System logs show Fig hanging while trying to do work.
term.getPrefs().set('audible-bell-sound', '');

// 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'));
};
Expand Down