Skip to content

Instantly share code, notes, and snippets.

// Run in the JavaScript console of the hterm browser window
// Clear all existing settings - you probably don't want to do this.
// Preferences are now stored in "chrome.storage.sync" instead of
// "window.localStorage" so if you clear your preferences the changes
// will be propagated to other devices.
//mosh_client_.io.terminal_.prefs_storage.clear();
mosh_client_.io.terminal_.prefs_.resetAll();
mosh_client_.io.terminal_.prefs_.set('enable-bold', true);