Eugene Pankov 8 years ago
parent
commit
d4c3efdea1

+ 7 - 1
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) => {

+ 3 - 1
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) }

+ 1 - 0
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)