     @sub = document.createElement 'span'
     @divider = document.createElement 'span'
     @divider.innerText = '/'
+
+    @main.onclick = =>
+      atom.commands.dispatch atom.views.getView(atom.workspace.getActiveTextEditor()),
+                             'julia-client:set-working-module'
 
   consumeStatusBar: (bar) ->
     @tile = bar.addRightTile {item: @dom}

      row: row+1, column: column+1
      held: ed.juliaModule

    comm.msg 'module', data, ({main, sub}) =>
      @reset main, sub

  # Selector


    ed = atom.workspace.getActivePaneItem()
    unless ed.getGrammar?().scopeName == 'source.julia' && comm.isConnected()
      @clear()
      @moveSubscription = ed.onDidChangeGrammar => @update()
      return
    @moveSubscription = ed.onDidChangeCursorPosition => @update()
    {row, column} = ed.getCursors()[0].getScreenPosition()
