     @terminal.on 'terminal-session-opened', () =>
       @term.off 'data'
       @term.on 'data', (data) =>
-        if !!process.platform.match(/win/) && !process.platform.match(/darwin/)
+        if !!process.platform.match(/win/)
           if (event.which == 38 || event.which == 40) && event.altKey
             @adjustTermFontSize(event.which)
           else if event.altKey

  paste: () ->
    text = Clipboard.readText().replace(/\n/g, "\r")

    if !!process.platform.match(/win/) && !process.platform.match(/darwin/)
      ipc.send 'terminal-data', text
    else
      @term.emit 'data', text

        $('.terminal').focus()

  onContextMenu: () ->
    Menu.buildFromTemplate(@contextMenuTemplate()).popup()

  contextMenuTemplate: () ->
    if !!process.platform.match(/win/)
      [
        {
          label: 'Copy',
          accelerator: 'Shift+Ctrl+C',
          role: 'copy'
        },
        {
          label: 'Paste',
          accelerator: 'Shift+Ctrl+V',
          role: 'paste'
        }
      ]
    else
      [
        {
          label: 'Copy',
          accelerator: 'Cmd+C'
          role: 'copy'
        },
        {
          label: 'Paste',
          accelerator: 'Cmd+V'
          role: 'paste'
        }
      ]
