diff --git a/app/main.js b/app/main.js index dcdde88d..78de3ddc 100644 --- a/app/main.js +++ b/app/main.js @@ -80,7 +80,13 @@ setupWindowManagement = () => { }) electron.ipcMain.on('window-set-bounds', (event, bounds) => { - app.window.setBounds(bounds, true) + app.window.setBounds(bounds) + setTimeout(() => { + let actualBounds = app.window.getBounds() + bounds.width += bounds.x - actualBounds.x + bounds.height += bounds.y - actualBounds.y + app.window.setBounds(bounds) + }, 500) }) electron.ipcMain.on('window-set-always-on-top', (event, flag) => { diff --git a/terminus-core/src/components/appRoot.component.ts b/terminus-core/src/components/appRoot.component.ts index 44857c4f..f71f8456 100644 --- a/terminus-core/src/components/appRoot.component.ts +++ b/terminus-core/src/components/appRoot.component.ts @@ -120,7 +120,9 @@ export class AppRootComponent { } } } - this.docking.dock() + setImmediate(() => { + this.docking.dock() + }) } getLeftToolbarButtons (): IToolbarButton[] { return this.getToolbarButtons(false) } diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index 61620136..a1712a02 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -197,6 +197,7 @@ export class TerminalTabComponent extends BaseTabComponent { preferenceManager.set('send-encoding', 'raw') preferenceManager.set('ctrl-plus-minus-zero-zoom', false) preferenceManager.set('scrollbar-visible', this.hostApp.platform == Platform.macOS) + preferenceManager.set('copy-on-select', false) if (config.terminal.colorScheme.foreground) { preferenceManager.set('foreground-color', config.terminal.colorScheme.foreground)