     atom.views.getView(@c).classList.add 'julia'
     history.read().then (entries) =>
       @c.history.set entries
+    @c.toolbar = @toolbar
 
   ignored: [/^WARNING: Method definition .* overwritten/]
   ignore: (s) ->

{client} = require '../connection'

modules = require './modules'

{evalrepl, clearLazy} = client.import rpc: ['evalrepl'], msg: ['clearLazy']


    {name: 'shell', prefix: ';', icon: 'terminal', grammar: 'source.shell'}
  ]

  toolbar: [{
      type: 'group'
      children: [
        {icon: 'link-external', alt: 'Debug: Finish Function', onclick: ()->debug.finish()}
        {icon: 'arrow-down', alt: 'Debug: Next Line', onclick: ()->debug.nextline()}
        {icon: 'triangle-right', alt: 'Debug: Next Expression', onclick: ()->debug.stepexpr()}
        {icon: 'sign-in', alt: 'Debug: Step into Function', onclick: () -> debug.stepin()}
      ]
  }]

  input: ->
    new Promise (resolve) =>
      @c.output type: 'input', icon: 'file-text', eval: ->
