Browse Source

build fix

Eugene Pankov 7 years ago
parent
commit
7b33d89032
1 changed files with 1 additions and 1 deletions
  1. 1 1
      terminus-terminal/src/index.ts

+ 1 - 1
terminus-terminal/src/index.ts

@@ -152,7 +152,7 @@ export default class TerminalModule {
                 hostApp.newWindow()
             }
             if (hotkey.startsWith('shell.')) {
-                let shells = await terminal.shells$
+                let shells = await terminal.shells$.toPromise()
                 let shell = shells.find(x => x.id === hotkey.split('.')[1])
                 if (shell) {
                     terminal.openTab(shell)