Procházet zdrojové kódy

fixes for running without local plugin

Eugene Pankov před 4 roky
rodič
revize
8f2a3f1333

+ 2 - 0
terminus-core/src/configDefaults.yaml

@@ -14,6 +14,8 @@ appearance:
   opacity: 1.0
   vibrancy: true
   vibrancyType: 'blur'
+terminal:
+  recoverTabs: true
 enableAnalytics: true
 enableWelcomeTab: true
 electronFlags:

+ 1 - 1
terminus-terminal/src/components/terminalSettingsTab.component.pug

@@ -43,7 +43,7 @@ h3.mb-3 Terminal
             )
             | Audible
 
-.alert.alert-info.d-flex.align-items-center(*ngIf='config.store.terminal.bell != "audible" && config.store.terminal.profile.startsWith("wsl")')
+.alert.alert-info.d-flex.align-items-center(*ngIf='config.store.terminal.bell != "audible" && (config.store.terminal.profile || "").startsWith("wsl")')
     .mr-auto WSL terminal bell can only be muted via Volume Mixer
     button.btn.btn-secondary((click)='openWSLVolumeMixer()') Show Mixer
 

+ 0 - 1
terminus-terminal/src/config.ts

@@ -49,7 +49,6 @@ export class TerminalConfigProvider extends ConfigProvider {
                 ],
             },
             customColorSchemes: [],
-            recoverTabs: true,
             warnOnMultilinePaste: true,
             searchRegexAlwaysEnabled: false,
             searchOptions: {