       row: row+1, column: column+1
       held: ed.juliaModule
 
-    comm.msg 'module', data, ({main, sub}) =>
+    comm.msg 'module', data, ({main, sub, inactive, subInactive}) =>
       @reset main, sub
+      subInactive && @subInactive()
+      inactive && @inactive()
 
   # Selector
 

    @sub = document.createElement 'span'
    @divider = document.createElement 'span'
    @divider.innerText = '/'

  consumeStatusBar: (bar) ->
    @tile = bar.addRightTile {item: @dom}

    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()
