   prompt: "> "
   preventUserInput: false
   inputFromUser: true
+  # Keep track of command history, for use with the up/down arrows
+  previousCommands: []
+  cycleIndex: null
 
   constructor: (@swank) ->
     @prompt = @pkg + "> "

      @closeDebugTab()


  setupDebugger: () ->
    process.nextTick =>
    @subs.add atom.workspace.addOpener (filePath) =>

    @subs.add atom.commands.add @editorElement, 'editor:newline': (event) => @handleEnter(event)
    @subs.add atom.commands.add @editorElement, 'editor:newline-below': (event) => @handleEnter(event)

    @subs.add @editor.onWillInsertText (event) =>
      #console.log 'Insert: ' + event.text
      # console.log "Insert: #{event.text}"
