experimental support for multiple windows (fixes #212, fixes #170)

This commit is contained in:
Eugene Pankov
2018-08-31 15:41:28 +02:00
parent 0749096d9f
commit 4b7b692ace
25 changed files with 577 additions and 395 deletions

View File

@@ -17,7 +17,12 @@ export class ButtonProvider extends ToolbarButtonProvider {
super()
hotkeys.matchedHotkey.subscribe(async (hotkey) => {
if (hotkey === 'new-tab') {
this.terminal.openTab()
terminal.openTab()
}
})
hotkeys.matchedHotkey.subscribe(async (hotkey) => {
if (hotkey === 'new-window') {
hostApp.newWindow()
}
})
hostApp.cliOpenDirectory$.subscribe(async directory => {