             name: sessions[key]
             mainView: this
         @sessionBox.show()
-      
+
       KD.whoami().tellKite
         kiteName: 'webterm',
         method: 'createServer',

        @terminal.showSessions()
    , 3000
  
  click: ->
    @setKeyView()
    

    
    @listenWindowResize()
    
    @on "ReceivedClickElsewhere", =>
      @terminal.setFocused false
      @getSingleton('windowController').removeLayer @

    # $(window).bind "focus", =>
    #   @terminal.setFocused true
    
    # $(window).bind "blur", =>
    #   @terminal.setFocused false
    
    KD.whoami().tellKite
      kiteName: 'webterm',
