remote pty

This commit is contained in:
Eugene Pankov
2021-04-04 20:07:57 +02:00
parent 80c781a8ca
commit 174a1bcca7
23 changed files with 506 additions and 188 deletions

View File

@@ -5,13 +5,16 @@ import * as remote from '@electron/remote/main'
import { loadConfig } from './config'
import { Window, WindowOptions } from './window'
import { pluginManager } from './pluginManager'
import { PTYManager } from './pty'
export class Application {
private tray?: Tray
private ptyManager = new PTYManager()
private windows: Window[] = []
constructor () {
remote.initialize()
this.ptyManager.init(this)
ipcMain.on('app:config-change', (_event, config) => {
this.broadcast('host:config-change', config)